]> jfr.im git - irc/quakenet/newserv.git/blob - geoip/libGeoIP/GeoIP_internal.h
Merge chanserv-live into default.
[irc/quakenet/newserv.git] / geoip / libGeoIP / GeoIP_internal.h
1 #ifndef GEOIP_INTERNAL_H
2 #define GEOIP_INTERNAL_H
3
4 #include "GeoIP.h"
5
6 GEOIP_API unsigned int _GeoIP_seek_record (GeoIP *gi, unsigned long ipnum);
7 GEOIP_API unsigned long _GeoIP_addr_to_num (const char *addr);
8
9 GEOIP_API unsigned int _GeoIP_seek_record_v6 (GeoIP *gi, geoipv6_t ipnum);
10 GEOIP_API geoipv6_t _GeoIP_addr_to_num_v6 (const char *addr);
11
12 GEOIP_API unsigned long _GeoIP_lookupaddress (const char *host);
13 GEOIP_API geoipv6_t _GeoIP_lookupaddress_v6 (const char *host);
14 GEOIP_API int __GEOIP_V6_IS_NULL(geoipv6_t v6);
15
16 GEOIP_API void _GeoIP_setup_dbfilename();
17 GEOIP_API char *_GeoIP_full_path_to(const char *file_name);
18
19 #endif