File: GeoIP_internal.h

package info (click to toggle)
ipv6calc 0.97.4-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,900 kB
  • ctags: 1,916
  • sloc: ansic: 55,513; sh: 3,960; perl: 2,570; makefile: 780; xml: 776
file content (18 lines) | stat: -rw-r--r-- 574 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef GEOIP_INTERNAL_H
#define GEOIP_INTERNAL_H

#include "GeoIP.h"

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);
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();
GEOIP_API char *_GeoIP_full_path_to(const char *file_name);

#endif