Lines Matching refs:databaseType
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], GeoIPDBDescription[GEOIP_CITY_EDITION_REV1]);
295 if (gi->databaseType != GEOIP_CITY_EDITION_REV0_V6 &&
296 gi->databaseType != GEOIP_CITY_EDITION_REV1_V6) {
297 printf("Invalid database type %s, expected %s\n", GeoIPDBDescription[(int) gi->databaseType], GeoIPDBDescription[GEOIP_CITY_EDITION_REV1]);