PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ set_dumper_config_defaults()

void set_dumper_config_defaults ( SHPDUMPERCONFIG config)

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

1133{
1134 config->conn = malloc(sizeof(SHPCONNECTIONCONFIG));
1135 config->conn->host = NULL;
1136 config->conn->port = NULL;
1137 config->conn->database = NULL;
1138 config->conn->username = NULL;
1139 config->conn->password = NULL;
1140
1141 config->table = NULL;
1142 config->schema = NULL;
1143 config->usrquery = NULL;
1144 config->binary = 0;
1145 config->shp_file = NULL;
1146 config->dswitchprovided = 0;
1147 config->includegid = 0;
1148 config->unescapedattrs = 0;
1149 config->geo_col_name = NULL;
1150 config->keep_fieldname_case = 0;
1151 config->fetchsize = 100;
1152 config->column_map_filename = NULL;
1153 config->quiet = 0;
1154}
void * malloc(YYSIZE_T)
SHPCONNECTIONCONFIG * conn

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::quiet, 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(), main(), and test_ShpDumperCreate().

Here is the call graph for this function:
Here is the caller graph for this function: