]> git.ipfire.org Git - thirdparty/bind9.git/commit
dns_slabheader_fromrdataset() -> dns_rdataset_getheader()
authorEvan Hunt <each@isc.org>
Sat, 8 Feb 2025 23:41:31 +0000 (15:41 -0800)
committerEvan Hunt <each@isc.org>
Wed, 19 Feb 2025 22:58:32 +0000 (14:58 -0800)
commited83455c811d53ce28d688ff82ccf51bfb47064e
tree6c4366c0a9ec3542966f118efea82e3c0df68fbc
parent82edec67a58afc837bf6b7ff62737faf931102e5
dns_slabheader_fromrdataset() -> dns_rdataset_getheader()

The function name dns_slabheader_fromrdataset() was too similar
to dns_rdataslab_fromrdataset(). Instead, we now have an rdataset
method 'getheader' which is implemented for slab-type rdatasets.

A new NOHEADER rdataset attribute is set for rdatasets using
raw slabs (i.e., noqname and closest encloser proofs); when
called on rdatasets with that flag set, dns_rdataset_getheader()
returns NULL.
lib/dns/include/dns/rdataset.h
lib/dns/include/dns/rdataslab.h
lib/dns/include/dns/types.h
lib/dns/qpzone.c
lib/dns/rdataset.c
lib/dns/rdataslab.c