diff --git a/lib/dns/include/dns/zone.h b/lib/dns/include/dns/zone.h index 81198b2266..422dfc0af8 100644 --- a/lib/dns/include/dns/zone.h +++ b/lib/dns/include/dns/zone.h @@ -373,19 +373,6 @@ void dns_zone_unload(dns_zone_t *zone); * 'zone' to be a valid initalised zone. */ -isc_result_t dns_zone_manage(dns_zone_t *zone, isc_taskmgr_t *tmgr); -/* - * Bring the zone under control of a task manger. - * - * Require: - * 'zone' to be a valid initalised zone. - * 'tmgr' to be a valid initalised task manager. - * - * Returns: - * DNS_R_UNEXPECTED - * DNS_R_SUCCESS - */ - void dns_zone_setoption(dns_zone_t *zone, unsigned int option, isc_boolean_t value); /* @@ -796,7 +783,11 @@ dns_zonemgr_create(isc_mem_t *mctx, isc_taskmgr_t *taskmgr, isc_result_t dns_zonemgr_managezone(dns_zonemgr_t *zmgr, dns_zone_t *zone); /* - * Start managing the zone 'zone' with zone manager 'zmgr'. + * Bring the zone under control of a zone manager. + * + * Require: + * 'zmgr' to be a valid zone manager. + * 'zone' to be a valid initalised zone. */ isc_result_t diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 2be6c81443..cca58b7932 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: zone.c,v 1.59 2000/01/21 19:20:56 gson Exp $ */ + /* $Id: zone.c,v 1.60 2000/01/21 19:52:00 gson Exp $ */ #include @@ -1766,7 +1766,10 @@ dns_zone_unmount(dns_zone_t *zone) { /*XXX MPA*/ } -isc_result_t +/* + * For reference only. Use dns_zonemanager_managezone() instead. + */ +static isc_result_t dns_zone_manage(dns_zone_t *zone, isc_taskmgr_t *tmgr) { #if 1 REQUIRE(DNS_ZONE_VALID(zone));