PostGIS  2.4.9dev-r@@SVN_REVISION@@
pgsql2shp-core.h File Reference
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <unistd.h>
#include <errno.h>
#include <math.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <iconv.h>
#include "libpq-fe.h"
#include "shapefil.h"
#include "shpcommon.h"
#include "getopt.h"
Include dependency graph for pgsql2shp-core.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  shp_dumper_config
 
struct  shp_dumper_state
 

Macros

#define P2S_RCSID   "$Id: pgsql2shp-core.h 15441 2017-06-23 05:13:22Z robe $"
 
#define SHPDUMPERMSGLEN   1024
 
#define SHPDUMPEROK   -1
 
#define SHPDUMPERERR   0
 
#define SHPDUMPERWARN   1
 

Typedefs

typedef struct shp_dumper_config SHPDUMPERCONFIG
 
typedef struct shp_dumper_state SHPDUMPERSTATE
 

Functions

void set_dumper_config_defaults (SHPDUMPERCONFIG *config)
 
char * shapetypename (int num)
 
SHPDUMPERSTATEShpDumperCreate (SHPDUMPERCONFIG *config)
 
char * ShpDumperGetConnectionStringFromConn (SHPCONNECTIONCONFIG *config)
 
int ShpDumperConnectDatabase (SHPDUMPERSTATE *state)
 
int ShpDumperOpenTable (SHPDUMPERSTATE *state)
 
int ShpDumperGetRecordCount (SHPDUMPERSTATE *state)
 
int ShpLoaderGenerateShapeRow (SHPDUMPERSTATE *state)
 
int ShpDumperCloseTable (SHPDUMPERSTATE *state)
 
void ShpDumperDestroy (SHPDUMPERSTATE *state)
 
char * quote_identifier (const char *s)