|
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 *conf, const char *key) |
| Create a GDAL / OGR string for connecting to a db backend defined in the key section. More... | |
| char * | createInitString (maps *conf) |
| Create a GDAL / OGR string for connecting to the db backend. More... | |
| int | _init_sql (maps *conf, const char *key) |
| Connect to a db backend. More... | |
| int | init_sql (maps *conf) |
| Connect to the db backend. More... | |
| void | close_sql (maps *conf, int cid) |
| Close any connection to the db backend. More... | |
| void | end_sql () |
| Call OGRCleanupAll. More... | |
| OGRLayer * | fetchSql (maps *conf, int cid, const char *sqlQuery) |
| Fetch a tuple set by executing a SQL query to the Database Backend. More... | |
| void | cleanFetchSql (maps *conf, int cid, OGRLayer *objects) |
| int | execSql (maps *conf, int cid, const char *sqlQuery) |
| Execute a SQL query to the SQL Database Backend. More... | |
| void | cleanUpResultSet (const maps *conf, int cid) |
| Clean any memory allocated by executing a request. More... | |
Variables | |
| OGRDataSource ** | zoo_DS = NULL |
| Global GDALDataset pointer. More... | |
| OGRLayer * | zoo_ResultSet = NULL |
| Global OGRLayer pointer pointing to the lastest result set. More... | |
| char* _createInitString | ( | maps * | conf, |
| const char * | key | ||
| ) |
Create a GDAL / OGR string for connecting to a db backend defined in the key section.
| conf | the maps containing the setting of the main.cfg file |
| key | the name of the section containing the connection setting |
| int _init_sql | ( | maps * | conf, |
| const char * | key | ||
| ) |
Connect to a db backend.
| conf | the maps containing the setting of the main.cfg file |
| void cleanFetchSql | ( | maps * | conf, |
| int | cid, | ||
| OGRLayer * | objects | ||
| ) |
| void cleanUpResultSet | ( | const maps * | conf, |
| int | cid | ||
| ) |
Clean any memory allocated by executing a request.
| conf | the maps containing the setting of the main.cfg file |
| sqlQuery | the SQL query to run |
| void close_sql | ( | maps * | conf, |
| int | cid | ||
| ) |
Close any connection to the db backend.
| conf | the maps containing the setting of the main.cfg file |
| char* createInitString | ( | maps * | conf | ) |
Create a GDAL / OGR string for connecting to the db backend.
| conf | the maps containing the setting of the main.cfg file |
| void end_sql | ( | ) |
Call OGRCleanupAll.
| int execSql | ( | maps * | conf, |
| int | cid, | ||
| const char * | sqlQuery | ||
| ) |
Execute a SQL query to the SQL Database Backend.
| conf | the maps containing the setting of the main.cfg file |
| sqlQuery | the SQL query to run |
| OGRLayer* fetchSql | ( | maps * | conf, |
| int | cid, | ||
| const char * | sqlQuery | ||
| ) |
Fetch a tuple set by executing a SQL query to the Database Backend.
| conf | the maps containing the setting of the main.cfg file |
| sqlQuery | the SQL query to run |
| int init_sql | ( | maps * | conf | ) |
Connect to the db backend.
| conf | the maps containing the setting of the main.cfg file |
| OGRDataSource** zoo_DS = NULL |
Global GDALDataset pointer.
| OGRLayer* zoo_ResultSet = NULL |
Global OGRLayer pointer pointing to the lastest result set.
1.8.9.1