X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ab6a99677293c9ddb96a717f03b8a009e98ab955..b57dc6addfe6d91ad78642d1f6881d206b7e425a:/nominatim/nominatim.h diff --git a/nominatim/nominatim.h b/nominatim/nominatim.h index df0b1f6b..71036199 100644 --- a/nominatim/nominatim.h +++ b/nominatim/nominatim.h @@ -4,24 +4,25 @@ #define MAX(x,y) (x > y?x:y) #define MIN(x,y) (x < y?x:y) -struct output_options { - const char *conninfo; /* Connection info string */ - const char *prefix; /* prefix for table names */ - int scale; /* scale for converting coordinates to fixed point */ - int projection; /* SRS of projection */ - int append; /* Append to existing data */ - int slim; /* In slim mode */ - int cache; /* Memory usable for cache in MB */ - struct middle_t *mid; /* Mid storage to use */ - const char *tblsindex; /* Pg Tablespace to store indexes */ - const char *style; /* style file to use */ - int expire_tiles_zoom; /* Zoom level for tile expiry list */ - int expire_tiles_zoom_min; /* Minimum zoom level for tile expiry list */ - const char *expire_tiles_filename; /* File name to output expired tiles list to */ - int enable_hstore; /* add an additional hstore column with objects key/value pairs */ - int enable_multi; /* Output multi-geometries intead of several simple geometries */ - char** hstore_columns; /* list of columns that should be written into their own hstore column */ - int n_hstore_columns; /* number of hstore columns */ +struct output_options +{ + const char *conninfo; /* Connection info string */ + const char *prefix; /* prefix for table names */ + int scale; /* scale for converting coordinates to fixed point */ + int projection; /* SRS of projection */ + int append; /* Append to existing data */ + int slim; /* In slim mode */ + int cache; /* Memory usable for cache in MB */ + struct middle_t *mid; /* Mid storage to use */ + const char *tblsindex; /* Pg Tablespace to store indexes */ + const char *style; /* style file to use */ + int expire_tiles_zoom; /* Zoom level for tile expiry list */ + int expire_tiles_zoom_min; /* Minimum zoom level for tile expiry list */ + const char *expire_tiles_filename; /* File name to output expired tiles list to */ + int enable_hstore; /* add an additional hstore column with objects key/value pairs */ + int enable_multi; /* Output multi-geometries intead of several simple geometries */ + char** hstore_columns; /* list of columns that should be written into their own hstore column */ + int n_hstore_columns; /* number of hstore columns */ }; void exit_nicely(void);