PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ set_dumper_config_defaults()

void set_dumper_config_defaults ( SHPDUMPERCONFIG config)

Definition at line 1125 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().

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