]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
3368. [bug] <dns/iptable.h>, <dns/private.h> and <dns/zone.h>
authorMark Andrews <marka@isc.org>
Tue, 21 Aug 2012 06:42:19 +0000 (16:42 +1000)
committerMark Andrews <marka@isc.org>
Tue, 21 Aug 2012 06:43:21 +0000 (16:43 +1000)
                        where not C++ safe.

CHANGES
lib/dns/include/dns/iptable.h
lib/dns/include/dns/private.h
lib/dns/include/dns/zone.h

diff --git a/CHANGES b/CHANGES
index 9b3bdae9f2f9abbbd97b326798bdb9a2840ff18f..3e81dce12758bafca4f4b6a45d417bff0d79c859 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+3368.  [bug]           <dns/iptable.h>, <dns/private.h> and <dns/zone.h>
+                       where not C++ safe.
+
 3367.  [bug]           dns_dnsseckey_create() result was not being checked.
                        [RT #30685]
 
index d7eb140dc057a25f6c4c23a28388ceb9196fc58f..6662ecb8664b49d221080dc00445610c87aee3c2 100644 (file)
@@ -23,6 +23,8 @@
 #include <isc/magic.h>
 #include <isc/radix.h>
 
+#include <dns/types.h>
+
 struct dns_iptable {
        unsigned int            magic;
        isc_mem_t               *mctx;
index 91fff5f752c861e2fe4d8bb08d3d7209dc02b5e5..dd16b2e7a0b02498aef2400c19813d687b50a2bd 100644 (file)
@@ -51,15 +51,15 @@ dns_private_chains(dns_db_t *db, dns_dbversion_t *ver,
  */
 
 isc_result_t
-dns_private_totext(dns_rdata_t *private, isc_buffer_t *buffer);
+dns_private_totext(dns_rdata_t *privaterdata, isc_buffer_t *buffer);
 /*%<
- * Convert a private-type RR 'private' to human-readable form,
+ * Convert a private-type RR 'privaterdata' to human-readable form,
  * and place the result in 'buffer'.  The text should indicate
  * which action the private-type record specifies and whether the
  * action has been completed.
  *
  * Requires:
- * \li 'private' is a valid rdata containing at least five bytes
+ * \li 'privaterdata' is a valid rdata containing at least five bytes
  * \li 'buffer' is a valid buffer
  *
  * Returns:
index e7c754f258846a226241aec42a4559becb4a2938..8f32bae40cf13215fcaa699c77b15a1a6ee40eea 100644 (file)
@@ -1861,7 +1861,7 @@ dns_zone_setsignatures(dns_zone_t *zone, isc_uint32_t signatures);
 
 isc_result_t
 dns_zone_signwithkey(dns_zone_t *zone, dns_secalg_t algorithm,
-                    isc_uint16_t keyid, isc_boolean_t delete);
+                    isc_uint16_t keyid, isc_boolean_t deleteit);
 /*%<
  * Initiate/resume signing of the entire zone with the zone DNSKEY(s)
  * that match the given algorithm and keyid.