From c90b021ea3f88d498fb0dadf6cf617a645338a5c Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Thu, 25 May 2000 15:34:26 +0000 Subject: [PATCH] renamed dns_zone_setnotifyalso() to dns_zone_setalsonotify(), to be consistent with the name of the config file option --- bin/named/zoneconf.c | 8 ++++---- lib/dns/include/dns/zone.h | 2 +- lib/dns/zone.c | 6 +++--- lib/dns/zoneconf.c | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/bin/named/zoneconf.c b/bin/named/zoneconf.c index 80bcb0741a..24a342f640 100644 --- a/bin/named/zoneconf.c +++ b/bin/named/zoneconf.c @@ -183,10 +183,10 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_c_view_t *cview, result = dns_c_zone_getalsonotify(czone, &iplist); if (result == ISC_R_SUCCESS) - result = dns_zone_setnotifyalso(zone, iplist->ips, + result = dns_zone_setalsonotify(zone, iplist->ips, iplist->nextidx); else - result = dns_zone_setnotifyalso(zone, NULL, 0); + result = dns_zone_setalsonotify(zone, NULL, 0); if (result != ISC_R_SUCCESS) return (result); @@ -345,10 +345,10 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_c_view_t *cview, result = dns_c_zone_getalsonotify(czone, &iplist); if (result == ISC_R_SUCCESS) - result = dns_zone_setnotifyalso(zone, iplist->ips, + result = dns_zone_setalsonotify(zone, iplist->ips, iplist->nextidx); else - result = dns_zone_setnotifyalso(zone, NULL, 0); + result = dns_zone_setalsonotify(zone, NULL, 0); if (result != ISC_R_SUCCESS) return (result); diff --git a/lib/dns/include/dns/zone.h b/lib/dns/include/dns/zone.h index 34bd2cf9a7..7354dda09c 100644 --- a/lib/dns/include/dns/zone.h +++ b/lib/dns/include/dns/zone.h @@ -363,7 +363,7 @@ dns_zone_setmasters(dns_zone_t *zone, isc_sockaddr_t *masters, */ isc_result_t -dns_zone_setnotifyalso(dns_zone_t *zone, isc_sockaddr_t *notify, +dns_zone_setalsonotify(dns_zone_t *zone, isc_sockaddr_t *notify, isc_uint32_t count); /* * Set the list of additional servers to be notified when diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 8c3633269e..5dbc0824bb 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: zone.c,v 1.126 2000/05/25 05:13:19 gson Exp $ */ +/* $Id: zone.c,v 1.127 2000/05/25 15:34:23 gson Exp $ */ #include @@ -398,7 +398,7 @@ zone_free(dns_zone_t *zone) { dns_db_detach(&zone->db); dns_zone_cleardbargs(zone); dns_zone_setmasters(zone, NULL, 0); - dns_zone_setnotifyalso(zone, NULL, 0); + dns_zone_setalsonotify(zone, NULL, 0); zone->check_names = dns_severity_ignore; if (zone->update_acl != NULL) dns_acl_detach(&zone->update_acl); @@ -1224,7 +1224,7 @@ dns_zone_getxfrsource6(dns_zone_t *zone) { } isc_result_t -dns_zone_setnotifyalso(dns_zone_t *zone, isc_sockaddr_t *notify, +dns_zone_setalsonotify(dns_zone_t *zone, isc_sockaddr_t *notify, isc_uint32_t count) { isc_sockaddr_t *new; diff --git a/lib/dns/zoneconf.c b/lib/dns/zoneconf.c index 80bcb0741a..24a342f640 100644 --- a/lib/dns/zoneconf.c +++ b/lib/dns/zoneconf.c @@ -183,10 +183,10 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_c_view_t *cview, result = dns_c_zone_getalsonotify(czone, &iplist); if (result == ISC_R_SUCCESS) - result = dns_zone_setnotifyalso(zone, iplist->ips, + result = dns_zone_setalsonotify(zone, iplist->ips, iplist->nextidx); else - result = dns_zone_setnotifyalso(zone, NULL, 0); + result = dns_zone_setalsonotify(zone, NULL, 0); if (result != ISC_R_SUCCESS) return (result); @@ -345,10 +345,10 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_c_view_t *cview, result = dns_c_zone_getalsonotify(czone, &iplist); if (result == ISC_R_SUCCESS) - result = dns_zone_setnotifyalso(zone, iplist->ips, + result = dns_zone_setalsonotify(zone, iplist->ips, iplist->nextidx); else - result = dns_zone_setnotifyalso(zone, NULL, 0); + result = dns_zone_setalsonotify(zone, NULL, 0); if (result != ISC_R_SUCCESS) return (result);