|
ZOO-Project
|
#include "ogr_api.h"#include "ogrsf_frmts.h"#include "ogr_p.h"#include "response_print.h"#include <fcgi_stdio.h>#include "sqlapi.h"#include "service_callback.h"Functions | |
| char * | _createInitString (maps *pmsConf, const char *pccKey) |
| Create a GDAL / OGR string for connecting to a db backend defined in the key section. More... | |
| char * | createInitString (maps *pmsConf) |
| Create a GDAL / OGR string for connecting to the db backend. More... | |
| int | _init_sql (maps *pmsConf, const char *pccKey) |
| Connect to a db backend. More... | |
| int | init_sql (maps *pmsConf) |
| Connect to the db backend. More... | |
| void | close_sql (maps *pmsConf, int iConnectionId) |
| Close any connection to the db backend. More... | |
| void | end_sql () |
| Call OGRCleanupAll. More... | |
| OGRLayer * | fetchSql (maps *pmsConf, int iConnectionId, const char *pcSqlQuery) |
| Fetch a tuple set by executing a SQL query to the Database Backend. More... | |
| void | cleanFetchSql (maps *pmsConf, int iConnectionId, OGRLayer *poLayer) |
| Clean any memory allocated by executing a request. More... | |
| int | execSql (maps *pmsConf, int iConnectionId, const char *pcSqlQuery) |
| Execute a SQL query to the SQL Database Backend. More... | |
| void | cleanUpResultSet (const maps *pmsConf, int iConnectionId) |
| Clean any memory allocated by executing a request. More... | |
| int | getCurrentId (maps *pmsConf) |
| Get the identifier of the current database. More... | |
Variables | |
| OGRDataSource ** | ppoZooDS = NULL |
| Global GDALDataset pointer. More... | |
| OGRLayer * | poZooResultSet = NULL |
| Global OGRLayer pointer pointing to the lastest result set. More... | |
| char* _createInitString | ( | maps * | pmsConf, |
| const char * | pccKey | ||
| ) |
Create a GDAL / OGR string for connecting to a db backend defined in the key section.
| pmsConf | the maps containing the setting of the main.cfg file |
| pccKey | the name of the section containing the connection setting |
| int _init_sql | ( | maps * | pmsConf, |
| const char * | pccKey | ||
| ) |
Connect to a db backend.
| pmsConf | the maps containing the setting of the main.cfg file |
| pccKey | the name of the section containing the connection setting |
| void cleanFetchSql | ( | maps * | pmsConf, |
| int | iConnectionId, | ||
| OGRLayer * | poLayer | ||
| ) |
Clean any memory allocated by executing a request.
| pmsConf | the maps containing the setting of the main.cfg file |
| iConnectionId | the connection identifier |
| poLayer | the OGRLayer pointer to clean |
| void cleanUpResultSet | ( | const maps * | pmsConf, |
| int | iConnectionId | ||
| ) |
Clean any memory allocated by executing a request.
| pmsConf | the maps containing the setting of the main.cfg file |
| iConnectionId | the connection identifier |
| void close_sql | ( | maps * | pmsConf, |
| int | iConnectionId | ||
| ) |
Close any connection to the db backend.
| pmsConf | the maps containing the setting of the main.cfg file |
| iConnectionId | the connection identifier |
| char* createInitString | ( | maps * | pmsConf | ) |
Create a GDAL / OGR string for connecting to the db backend.
| pmsConf | the maps containing the setting of the main.cfg file |
| void end_sql | ( | ) |
Call OGRCleanupAll.
| int execSql | ( | maps * | pmsConf, |
| int | iConnectionId, | ||
| const char * | pcSqlQuery | ||
| ) |
Execute a SQL query to the SQL Database Backend.
| pmsConf | the maps containing the setting of the main.cfg file |
| pcSqlQuery | the SQL query to run |
| OGRLayer* fetchSql | ( | maps * | pmsConf, |
| int | iConnectionId, | ||
| const char * | pcSqlQuery | ||
| ) |
Fetch a tuple set by executing a SQL query to the Database Backend.
| pmsConf | the maps containing the setting of the main.cfg file |
| pcSqlQuery | the SQL query to run |
| int getCurrentId | ( | maps * | pmsConf | ) |
Get the identifier of the current database.
| pmsConf | the maps containing the setting of the main.cfg file |
| int init_sql | ( | maps * | pmsConf | ) |
Connect to the db backend.
| pmsConf | the maps containing the setting of the main.cfg file |
| OGRLayer* poZooResultSet = NULL |
Global OGRLayer pointer pointing to the lastest result set.
| OGRDataSource** ppoZooDS = NULL |
Global GDALDataset pointer.
1.8.17