25 lines
729 B
C
25 lines
729 B
C
#ifndef LIBPOSTAL_CONFIG_H
|
|
#define LIBPOSTAL_CONFIG_H
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
#ifndef CONFIG_H
|
|
#define CONFIG_H
|
|
#include <config.h>
|
|
#endif
|
|
#endif
|
|
|
|
#ifndef LIBPOSTAL_DATA_DIR
|
|
#error LIBPOSTAL_DATA_DIR not defined!
|
|
#endif
|
|
|
|
#define LIBPOSTAL_ADDRESS_PARSER_DIR LIBPOSTAL_DATA_DIR PATH_SEPARATOR "address_parser"
|
|
#define LIBPOSTAL_DICTIONARIES_DIR LIBPOSTAL_DATA_DIR PATH_SEPARATOR "dictionaries"
|
|
#define LIBPOSTAL_GEONAMES_DIR LIBPOSTAL_DATA_DIR PATH_SEPARATOR "geonames"
|
|
#define LIBPOSTAL_GEODB_DIR LIBPOSTAL_DATA_DIR PATH_SEPARATOR "geodb"
|
|
#define LIBPOSTAL_TRANSLITERATION_DIR LIBPOSTAL_DATA_DIR PATH_SEPARATOR "transliteration"
|
|
|
|
#define GEODB_BLOOM_FILTER_SIZE 100000000
|
|
#define GEODB_BLOOM_FILTER_ERROR 0.001
|
|
|
|
#endif
|