summaryrefslogtreecommitdiffstats
path: root/libGeoIP/GeoIP_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'libGeoIP/GeoIP_internal.h')
-rw-r--r--libGeoIP/GeoIP_internal.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/libGeoIP/GeoIP_internal.h b/libGeoIP/GeoIP_internal.h
new file mode 100644
index 0000000..2c96587
--- /dev/null
+++ b/libGeoIP/GeoIP_internal.h
@@ -0,0 +1,23 @@
+#ifndef GEOIP_INTERNAL_H
+#define GEOIP_INTERNAL_H
+
+#include "GeoIP.h"
+
+GEOIP_API unsigned int
+_GeoIP_seek_record_gl(GeoIP *gi, unsigned long ipnum, GeoIPLookup *gl);
+GEOIP_API unsigned int
+_GeoIP_seek_record_v6_gl(GeoIP *gi, geoipv6_t ipnum, GeoIPLookup *gl);
+GEOIP_API geoipv6_t _GeoIP_addr_to_num_v6(const char *addr);
+
+GEOIP_API unsigned long _GeoIP_lookupaddress(const char *host);
+GEOIP_API geoipv6_t _GeoIP_lookupaddress_v6(const char *host);
+GEOIP_API int __GEOIP_V6_IS_NULL(geoipv6_t v6);
+
+GEOIP_API void _GeoIP_setup_dbfilename(void);
+GEOIP_API char *_GeoIP_full_path_to(const char *file_name);
+
+/* deprecated */
+GEOIP_API unsigned int _GeoIP_seek_record(GeoIP *gi, unsigned long ipnum);
+GEOIP_API unsigned int _GeoIP_seek_record_v6(GeoIP *gi, geoipv6_t ipnum);
+
+#endif