#ifndef _GG_WFS_H
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#define _GG_WFS_H
#endif
#ifdef __cplusplus
extern "C"
{
#endif
typedef struct gaia_wfs_catalog gaiaWFScatalog;
typedef gaiaWFScatalog *gaiaWFScatalogPtr;
typedef struct gaia_wfs_item gaiaWFSitem;
typedef gaiaWFSitem *gaiaWFSitemPtr;
typedef struct gaia_wfs_schema gaiaWFSschema;
typedef gaiaWFSschema *gaiaWFSschemaPtr;
typedef struct gaia_wfs_column gaiaWFScolumn;
typedef gaiaWFScolumn *gaiaWFScolumnPtr;
SPATIALITE_DECLARE int load_from_wfs (sqlite3 * sqlite,
const char *path_or_url,
const char *alt_describe_uri,
const char *layer_name, int swap_axes,
const char *table,
const char *pk_column_name,
int spatial_index, int *rows,
char **err_msg,
void (*progress_callback) (int,
void *),
void *callback_ptr);
SPATIALITE_DECLARE int load_from_wfs_paged (sqlite3 * sqlite,
const char *path_or_url,
const char *alt_describe_uri,
const char *layer_name,
int swap_axes,
const char *table,
const char *pk_column_name,
int spatial_index,
int page_size, int *rows,
char **err_msg,
void (*progress_callback) (int,
void
*),
void *callback_ptr);
SPATIALITE_DECLARE gaiaWFScatalogPtr create_wfs_catalog (const char
*path_or_url,
char **err_msg);
SPATIALITE_DECLARE void destroy_wfs_catalog (gaiaWFScatalogPtr handle);
SPATIALITE_DECLARE const char *get_wfs_version (gaiaWFScatalogPtr handle);
SPATIALITE_DECLARE const char *get_wfs_base_request_url (gaiaWFScatalogPtr
handle);
SPATIALITE_DECLARE const char *get_wfs_base_describe_url (gaiaWFScatalogPtr
handle);
SPATIALITE_DECLARE char *get_wfs_request_url (gaiaWFScatalogPtr handle,
const char *name,
const char *version,
int srid, int max_features);
SPATIALITE_DECLARE char *get_wfs_describe_url (gaiaWFScatalogPtr handle,
const char *name,
const char *version);
SPATIALITE_DECLARE int get_wfs_catalog_count (gaiaWFScatalogPtr handle);
SPATIALITE_DECLARE gaiaWFSitemPtr get_wfs_catalog_item (gaiaWFScatalogPtr
handle, int index);
SPATIALITE_DECLARE const char *get_wfs_item_name (gaiaWFSitemPtr handle);
SPATIALITE_DECLARE const char *get_wfs_item_title (gaiaWFSitemPtr handle);
SPATIALITE_DECLARE const char *get_wfs_item_abstract (gaiaWFSitemPtr
handle);
SPATIALITE_DECLARE int get_wfs_layer_srid_count (gaiaWFSitemPtr handle);
SPATIALITE_DECLARE int get_wfs_layer_srid (gaiaWFSitemPtr handle,
int index);
SPATIALITE_DECLARE int get_wfs_keyword_count (gaiaWFSitemPtr handle);
SPATIALITE_DECLARE const char *get_wfs_keyword (gaiaWFSitemPtr handle,
int index);
SPATIALITE_DECLARE gaiaWFSschemaPtr create_wfs_schema (const char
*path_or_url,
const char
*layer_name,
char **err_msg);
SPATIALITE_DECLARE void destroy_wfs_schema (gaiaWFSschemaPtr handle);
SPATIALITE_DECLARE int get_wfs_schema_geometry_info (gaiaWFSschemaPtr
handle,
const char **name,
int *type, int *srid,
int *dims,
int *nullable);
SPATIALITE_DECLARE int get_wfs_schema_column_count (gaiaWFSschemaPtr
handle);
SPATIALITE_DECLARE gaiaWFScolumnPtr get_wfs_schema_column (gaiaWFSschemaPtr
handle,
int index);
SPATIALITE_DECLARE int get_wfs_schema_column_info (gaiaWFScolumnPtr handle,
const char **name,
int *type,
int *nullable);
SPATIALITE_DECLARE void reset_wfs_http_connection (void);
#ifdef __cplusplus
}
#endif
#endif