Searched refs:databaseType (Results 1 - 3 of 3) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/GeoIP-1.5.1/libGeoIP/ |
H A D | GeoIP.c | 534 gi->databaseType = GEOIP_COUNTRY_EDITION; 540 silence = read(fno, &gi->databaseType, 1 ); 541 if (gi->databaseType >= 106) { 543 gi->databaseType -= 105; 546 if (gi->databaseType == GEOIP_REGION_EDITION_REV0) { 550 } else if (gi->databaseType == GEOIP_REGION_EDITION_REV1) { 554 } else if (gi->databaseType == GEOIP_CITY_EDITION_REV0 || 555 gi->databaseType == GEOIP_CITY_EDITION_REV1 || 556 gi->databaseType == GEOIP_ORG_EDITION || 557 gi->databaseType [all...] |
H A D | GeoIPCity.c | 144 if (GEOIP_CITY_EDITION_REV1 == gi->databaseType) { 170 if (gi->databaseType != GEOIP_CITY_EDITION_REV0 171 && gi->databaseType != GEOIP_CITY_EDITION_REV1) { 172 printf("Invalid database type %s, expected %s\n", GeoIPDBDescription[(int) gi->databaseType], GeoIPDBDescription[GEOIP_CITY_EDITION_REV1]); 197 if (gi->databaseType != GEOIP_CITY_EDITION_REV0_V6 && 198 gi->databaseType != GEOIP_CITY_EDITION_REV1_V6) { 199 printf("Invalid database type %s, expected %s\n", GeoIPDBDescription[(int) gi->databaseType], GeoIPDBDescription[GEOIP_CITY_EDITION_REV1_V6]); 279 if (gi->databaseType != GEOIP_CITY_EDITION_REV0 && 280 gi->databaseType != GEOIP_CITY_EDITION_REV1) { 281 printf("Invalid database type %s, expected %s\n", GeoIPDBDescription[(int) gi->databaseType], GeoIPDBDescriptio [all...] |
H A D | GeoIP.h | 64 char databaseType; member in struct:GeoIPTag
|
Completed in 40 milliseconds