PostGIS  2.3.7dev-r@@SVN_REVISION@@
void set_dumper_config_defaults ( SHPDUMPERCONFIG config)

Definition at line 1126 of file pgsql2shp-core.c.

References shp_dumper_config::binary, shp_dumper_config::column_map_filename, shp_dumper_config::conn, shp_connection_state::database, shp_dumper_config::dswitchprovided, shp_dumper_config::fetchsize, shp_dumper_config::geo_col_name, shp_connection_state::host, shp_dumper_config::includegid, shp_dumper_config::keep_fieldname_case, malloc(), shp_connection_state::password, shp_connection_state::port, shp_dumper_config::schema, shp_dumper_config::shp_file, shp_dumper_config::table, shp_dumper_config::unescapedattrs, shp_connection_state::username, and shp_dumper_config::usrquery.

Referenced by main(), and test_ShpDumperCreate().

1127 {
1128  config->conn = malloc(sizeof(SHPCONNECTIONCONFIG));
1129  config->conn->host = NULL;
1130  config->conn->port = NULL;
1131  config->conn->database = NULL;
1132  config->conn->username = NULL;
1133  config->conn->password = NULL;
1134 
1135  config->table = NULL;
1136  config->schema = NULL;
1137  config->usrquery = NULL;
1138  config->binary = 0;
1139  config->shp_file = NULL;
1140  config->dswitchprovided = 0;
1141  config->includegid = 0;
1142  config->unescapedattrs = 0;
1143  config->geo_col_name = NULL;
1144  config->keep_fieldname_case = 0;
1145  config->fetchsize = 100;
1146  config->column_map_filename = NULL;
1147 }
char * column_map_filename
SHPCONNECTIONCONFIG * conn
void * malloc(YYSIZE_T)

Here is the call graph for this function:

Here is the caller graph for this function: