Lines Matching defs:gl
747 unsigned int _GeoIP_seek_record_v6_gl (GeoIP *gi, geoipv6_t ipnum, GeoIPLookup * gl) {
812 gi->netmask = gl->netmask = 128 - depth;
834 unsigned int _GeoIP_seek_record_gl (GeoIP *gi, unsigned long ipnum, GeoIPLookup *gl) {
896 gi->netmask = gl->netmask = 32 - depth;
1116 const char *GeoIP_country_code_by_name_v6_gl (GeoIP* gi, const char *name, GeoIPLookup * gl) {
1118 country_id = GeoIP_id_by_name_v6_gl(gi, name, gl);
1122 const char *GeoIP_country_code_by_name_gl (GeoIP* gi, const char *name, GeoIPLookup * gl) {
1124 country_id = GeoIP_id_by_name_gl(gi, name, gl);
1128 const char *GeoIP_country_code3_by_name_v6_gl (GeoIP* gi, const char *name, GeoIPLookup * gl) {
1130 country_id = GeoIP_id_by_name_v6_gl(gi, name, gl);
1134 const char *GeoIP_country_code3_by_name_gl (GeoIP* gi, const char *name, GeoIPLookup * gl) {
1136 country_id = GeoIP_id_by_name_gl(gi, name, gl);
1140 const char *GeoIP_country_name_by_name_v6_gl (GeoIP* gi, const char *name, GeoIPLookup * gl) {
1142 country_id = GeoIP_id_by_name_v6_gl(gi, name, gl);
1146 const char *GeoIP_country_name_by_name_gl (GeoIP* gi, const char *name, GeoIPLookup * gl) {
1148 country_id = GeoIP_id_by_name_gl(gi, name, gl);
1225 int GeoIP_id_by_name_gl (GeoIP* gi, const char *name, GeoIPLookup *gl ) {
1237 ret = _GeoIP_seek_record_gl(gi, ipnum, gl) - gi->databaseSegments[0];
1241 int GeoIP_id_by_name_v6_gl (GeoIP* gi, const char *name, GeoIPLookup * gl) {
1255 ret = _GeoIP_seek_record_v6_gl(gi, ipnum, gl) - gi->databaseSegments[0];
1259 const char *GeoIP_country_code_by_addr_v6_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1261 country_id = GeoIP_id_by_addr_v6_gl(gi, addr, gl);
1266 const char *GeoIP_country_code_by_addr_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1268 country_id = GeoIP_id_by_addr_gl(gi, addr, gl);
1271 const char *GeoIP_country_code3_by_addr_v6_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1273 country_id = GeoIP_id_by_addr_v6_gl(gi, addr, gl);
1277 const char *GeoIP_country_code3_by_addr_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1279 country_id = GeoIP_id_by_addr_gl(gi, addr, gl);
1283 const char *GeoIP_country_name_by_addr_v6_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl ) {
1285 country_id = GeoIP_id_by_addr_v6_gl(gi, addr, gl);
1289 const char *GeoIP_country_name_by_addr_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl ) {
1291 country_id = GeoIP_id_by_addr_gl(gi, addr, gl);
1295 const char *GeoIP_country_name_by_ipnum_gl (GeoIP* gi, unsigned long ipnum, GeoIPLookup * gl) {
1297 country_id = GeoIP_id_by_ipnum_gl(gi, ipnum, gl);
1301 const char *GeoIP_country_name_by_ipnum_v6_gl (GeoIP* gi, geoipv6_t ipnum, GeoIPLookup * gl) {
1303 country_id = GeoIP_id_by_ipnum_v6_gl(gi, ipnum, gl);
1307 const char *GeoIP_country_code_by_ipnum_gl (GeoIP* gi, unsigned long ipnum, GeoIPLookup * gl) {
1309 country_id = GeoIP_id_by_ipnum_gl(gi, ipnum, gl);
1313 const char *GeoIP_country_code_by_ipnum_v6_gl (GeoIP* gi, geoipv6_t ipnum, GeoIPLookup * gl) {
1315 country_id = GeoIP_id_by_ipnum_v6_gl(gi, ipnum, gl);
1319 const char *GeoIP_country_code3_by_ipnum_gl (GeoIP* gi, unsigned long ipnum, GeoIPLookup * gl) {
1321 country_id = GeoIP_id_by_ipnum_gl(gi, ipnum, gl);
1325 const char *GeoIP_country_code3_by_ipnum_v6_gl (GeoIP* gi, geoipv6_t ipnum, GeoIPLookup * gl) {
1327 country_id = GeoIP_id_by_ipnum_v6_gl(gi, ipnum, gl);
1331 int GeoIP_country_id_by_addr_v6_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1336 int GeoIP_country_id_by_addr_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1337 return GeoIP_id_by_addr_gl(gi, addr, gl);
1340 int GeoIP_country_id_by_name_v6_gl (GeoIP* gi, const char *host, GeoIPLookup * gl) {
1341 return GeoIP_id_by_name_v6_gl(gi, host, gl);
1344 int GeoIP_country_id_by_name_gl (GeoIP* gi, const char *host, GeoIPLookup * gl) {
1345 return GeoIP_id_by_name_gl(gi, host, gl);
1348 int GeoIP_id_by_addr_v6_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1362 ret = _GeoIP_seek_record_v6_gl(gi, ipnum, gl) - gi->databaseSegments[0];
1367 int GeoIP_id_by_addr_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1383 ret = _GeoIP_seek_record_gl(gi, ipnum, gl) - gi->databaseSegments[0];
1387 int GeoIP_id_by_ipnum_v6_gl (GeoIP* gi, geoipv6_t ipnum, GeoIPLookup * gl) {
1396 ret = _GeoIP_seek_record_v6_gl(gi, ipnum, gl) - gi->databaseSegments[0];
1400 int GeoIP_id_by_ipnum_gl (GeoIP* gi, unsigned long ipnum, GeoIPLookup * gl) {
1414 ret = _GeoIP_seek_record_gl(gi, ipnum, gl) - gi->databaseSegments[0];
1468 void GeoIP_assign_region_by_inetaddr_gl(GeoIP* gi, unsigned long inetaddr, GeoIPRegion *region, GeoIPLookup * gl) {
1475 seek_region = _GeoIP_seek_record_gl(gi, ntohl(inetaddr), gl);
1513 void GeoIP_assign_region_by_inetaddr_v6_gl(GeoIP* gi, geoipv6_t inetaddr, GeoIPRegion *region, GeoIPLookup * gl) {
1520 seek_region = _GeoIP_seek_record_v6_gl(gi, inetaddr, gl);
1559 GeoIPRegion * _get_region_gl(GeoIP* gi, unsigned long ipnum, GeoIPLookup * gl) {
1564 GeoIP_assign_region_by_inetaddr_gl(gi, htonl(ipnum), region, gl);
1570 GeoIPRegion * _get_region_v6_gl(GeoIP* gi, geoipv6_t ipnum, GeoIPLookup * gl) {
1575 GeoIP_assign_region_by_inetaddr_v6_gl(gi, ipnum, region, gl);
1580 GeoIPRegion * GeoIP_region_by_addr_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1591 return _get_region_gl(gi, ipnum, gl);
1594 GeoIPRegion * GeoIP_region_by_addr_v6_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1605 return _get_region_v6_gl(gi, ipnum, gl);
1608 GeoIPRegion * GeoIP_region_by_name_gl (GeoIP* gi, const char *name, GeoIPLookup * gl) {
1620 return _get_region_gl(gi, ipnum, gl);
1623 GeoIPRegion * GeoIP_region_by_name_v6_gl (GeoIP* gi, const char *name, GeoIPLookup * gl) {
1637 return _get_region_v6_gl(gi, ipnum, gl);
1640 GeoIPRegion * GeoIP_region_by_ipnum_gl (GeoIP* gi, unsigned long ipnum, GeoIPLookup * gl) {
1646 return _get_region_gl(gi, ipnum, gl);
1649 GeoIPRegion * GeoIP_region_by_ipnum_v6_gl (GeoIP* gi, geoipv6_t ipnum, GeoIPLookup * gl) {
1655 return _get_region_v6_gl(gi, ipnum, gl);
1664 char *_get_name_gl (GeoIP* gi, unsigned long ipnum, GeoIPLookup * gl) {
1690 seek_org = _GeoIP_seek_record_gl(gi, ipnum, gl);
1719 char *_get_name_v6_gl (GeoIP* gi, geoipv6_t ipnum, GeoIPLookup * gl) {
1742 seek_org = _GeoIP_seek_record_v6_gl(gi, ipnum, gl);
1797 char **GeoIP_range_by_ip_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1814 target_value = _GeoIP_seek_record_gl(gi, ipnum, gl);
1815 orig_netmask = gl->netmask;
1853 char *GeoIP_name_by_ipnum_gl (GeoIP* gi, unsigned long ipnum, GeoIPLookup * gl) {
1854 return _get_name_gl(gi,ipnum, gl);
1857 char *GeoIP_name_by_ipnum_v6_gl (GeoIP* gi, geoipv6_t ipnum, GeoIPLookup * gl) {
1858 return _get_name_v6_gl(gi,ipnum, gl);
1861 char *GeoIP_name_by_addr_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1867 return _get_name_gl(gi, ipnum, gl);
1870 char *GeoIP_name_by_addr_v6_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1876 return _get_name_v6_gl(gi, ipnum, gl);
1879 char *GeoIP_name_by_name_gl (GeoIP* gi, const char *name, GeoIPLookup * gl) {
1886 return _get_name_gl(gi, ipnum, gl);
1889 char *GeoIP_name_by_name_v6_gl (GeoIP* gi, const char *name, GeoIPLookup *gl) {
1897 return _get_name_v6_gl(gi, ipnum, gl);