]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix some documentation issues
authorMatthijs Mekking <matthijs@isc.org>
Thu, 19 Mar 2026 15:20:18 +0000 (16:20 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Thu, 2 Apr 2026 13:50:09 +0000 (15:50 +0200)
dns_zone_setorigin() does not return ISC_R_SUCCESS, but void.

dns_zone_setalsonotify() referred to non-existing
dns_zone_alsonotifywithkeys().

lib/dns/include/dns/zoneproperties.h

index dcfeafa8fc5bbf2134fd6e488910422437f0a5cc..48f3ff020231901fa90b1b6cdaa164c43dc22811 100644 (file)
@@ -81,9 +81,6 @@ dns_zone_setorigin(dns_zone_t *zone, const dns_name_t *origin);
  * Require:
  *\li  'zone' to be a valid zone.
  *\li  'origin' to be non NULL.
- *
- * Returns:
- *\li  #ISC_R_SUCCESS
  */
 
 dns_name_t *
@@ -312,9 +309,6 @@ dns_zone_setalsonotify(dns_zone_t *zone, isc_sockaddr_t *addresses,
  *     Set the list of additional servers to be notified when
  *     a zone changes.  To clear the list use 'count = 0'.
  *
- *     dns_zone_alsonotifywithkeys() allows each notify address to
- *     be associated with a TSIG key.
- *
  * Require:
  *\li  'zone' to be a valid zone.
  *\li  'addresses' to be non-NULL if count != 0.