Changeset 917 for trunk/zoo-project/zoo-kernel/sqlapi.h
- Timestamp:
- May 7, 2019, 2:17:08 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:mergeinfo
set to
False
/branches/prototype-v0 merged eligible
-
Property
svn:mergeinfo
set to
False
-
trunk/zoo-project/zoo-kernel/sqlapi.h
r784 r917 25 25 #ifndef ZOO_SQLAPI_H 26 26 #define ZOO_SQLAPI_H 1 27 #ifdef RELY_ON_DB 27 28 #ifdef META_DB 29 #include "ogrsf_frmts.h" 30 #include "ogr_p.h" 31 #if GDAL_VERSION_MAJOR >= 2 32 #include <gdal_priv.h> 33 #endif 34 #endif 35 28 36 #include "service.h" 29 37 #include "service_internal.h" 38 39 #ifdef META_DB 40 extern "C" 41 #if GDAL_VERSION_MAJOR >=2 42 GDALDataset 43 #else 44 OGRDataSource 45 #endif 46 **zoo_DS; 47 #endif 30 48 31 49 #ifdef __cplusplus 32 50 extern "C" { 33 51 #endif 34 ZOO_DLL_EXPORT void init_sql(maps*); 35 ZOO_DLL_EXPORT void close_sql(maps*); 36 ZOO_DLL_EXPORT int execSql(maps*,const char*); 52 53 54 #ifdef META_DB 55 ZOO_DLL_EXPORT char* _createInitString(maps*,const char*); 56 ZOO_DLL_EXPORT int _init_sql(maps*,const char*); 57 ZOO_DLL_EXPORT OGRLayer *fetchSql(maps*,int,const char*); 58 ZOO_DLL_EXPORT void cleanFetchSql(maps*,int,OGRLayer*); 59 #endif 60 #ifdef RELY_ON_DB 61 ZOO_DLL_EXPORT int init_sql(maps*); 62 ZOO_DLL_EXPORT void close_sql(maps*,int); 63 ZOO_DLL_EXPORT int execSql(maps*,int,const char*); 37 64 ZOO_DLL_EXPORT void recordStoredFile(maps*,const char*,const char*,const char*); 38 65 ZOO_DLL_EXPORT void recordServiceStatus(maps*); … … 42 69 ZOO_DLL_EXPORT char* getStatusId(maps*,char*); 43 70 ZOO_DLL_EXPORT void removeService(maps*,char*); 71 ZOO_DLL_EXPORT void end_sql(); 72 #endif 44 73 45 74 #ifdef __cplusplus … … 48 77 49 78 #endif 50 #endif
Note: See TracChangeset
for help on using the changeset viewer.