]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/index.h
get precomputed housenumbers and postcodes from address column
[nominatim.git] / nominatim / index.h
index 1e4155307deb5ad5e292a2c74e1ef757654b8d01..46c8bb8a2178f260302ac07d8e9799443a6f50f6 100644 (file)
@@ -4,15 +4,17 @@
 #include <libxml/encoding.h>
 #include <libxml/xmlwriter.h>
 
 #include <libxml/encoding.h>
 #include <libxml/xmlwriter.h>
 
-struct index_thread_data{
-   pthread_t thread;
-   PGconn * conn;
-   PGresult * res;
-   int tuples;
-   int * count;
-   pthread_mutex_t * count_mutex;
-   xmlTextWriterPtr writer;
-   pthread_mutex_t * writer_mutex;
+struct index_thread_data
+{
+    pthread_t thread;
+    PGconn * conn;
+    PGresult * res;
+    int tuples;
+    int * count;
+    pthread_mutex_t * count_mutex;
+    xmlTextWriterPtr writer;
+    pthread_mutex_t * writer_mutex;
+    uint table;
 };
 void nominatim_index(int rank_min, int rank_max, int num_threads, const char *conninfo, const char *structuredoutputfile);
 void *nominatim_indexThread(void * thread_data_in);
 };
 void nominatim_index(int rank_min, int rank_max, int num_threads, const char *conninfo, const char *structuredoutputfile);
 void *nominatim_indexThread(void * thread_data_in);