21 #include <sys/types.h>
33 #define P2S_RCSID "$Id$"
39 #define SHPDUMPERMSGLEN 1024
41 #define SHPDUMPEROK -1
42 #define SHPDUMPERERR 0
43 #define SHPDUMPERWARN 1
void set_dumper_config_defaults(SHPDUMPERCONFIG *config)
int ShpDumperGetRecordCount(SHPDUMPERSTATE *state)
char * ShpDumperGetConnectionStringFromConn(SHPCONNECTIONCONFIG *config)
void ShpDumperDestroy(SHPDUMPERSTATE *state)
char * shapetypename(int num)
SHPDUMPERSTATE * ShpDumperCreate(SHPDUMPERCONFIG *config)
int ShpDumperConnectDatabase(SHPDUMPERSTATE *state)
int ShpLoaderGenerateShapeRow(SHPDUMPERSTATE *state)
struct shp_dumper_state SHPDUMPERSTATE
int ShpDumperCloseTable(SHPDUMPERSTATE *state)
char * quote_identifier(const char *s)
int ShpDumperOpenTable(SHPDUMPERSTATE *state)
struct shp_dumper_config SHPDUMPERCONFIG
char * column_map_filename
SHPCONNECTIONCONFIG * conn
char message[SHPDUMPERMSGLEN]