diff --git a/lib/dns/include/dns/zone.h b/lib/dns/include/dns/zone.h index 8bcf589827..6fa4664d74 100644 --- a/lib/dns/include/dns/zone.h +++ b/lib/dns/include/dns/zone.h @@ -287,10 +287,6 @@ dns_zone_setdbtype(dns_zone_t *zone, char *db_type); * ISC_R_SUCCESS */ -void -dns_zone_validate(dns_zone_t *zone); -/* XXX MPA */ - void dns_zone_expire(dns_zone_t *zone); /* diff --git a/lib/dns/zone.c b/lib/dns/zone.c index ecd9382e01..6e6737fbe2 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: zone.c,v 1.128 2000/05/25 21:05:43 gson Exp $ */ +/* $Id: zone.c,v 1.129 2000/05/25 21:13:37 gson Exp $ */ #include @@ -571,24 +571,6 @@ dns_zone_getjournal(dns_zone_t *zone) { return (zone->journal); } -void -dns_zone_validate(dns_zone_t *zone) { - REQUIRE(DNS_ZONE_VALID(zone)); - REQUIRE(dns_name_countlabels(&zone->origin) != 0); - REQUIRE(zone->type != dns_zone_none); - - switch (zone->rdclass) { - case dns_zone_master: - case dns_zone_slave: - case dns_zone_stub: - REQUIRE(zone->dbname != NULL); - REQUIRE(zone->rdclass != dns_rdataclass_none); - break; - } - - REQUIRE(zone->db_type != NULL); -} - isc_result_t dns_zone_load(dns_zone_t *zone) { const char me[] = "dns_zone_load";