]> git.ipfire.org Git - thirdparty/bind9.git/commit
get predecessor name in dns_qp_findname_ancestor()
authorEvan Hunt <each@isc.org>
Sat, 23 Sep 2023 22:58:46 +0000 (15:58 -0700)
committerEvan Hunt <each@isc.org>
Thu, 28 Sep 2023 07:32:37 +0000 (00:32 -0700)
commit4e3e61806ca642714311408c446a618d5879652d
tree6f21204d021536aea372cda0da07182e7578be35
parent606232b8d5f28012fdfef870718bc1e6b5fd3ef1
get predecessor name in dns_qp_findname_ancestor()

dns_qp_findname_ancestor() now takes an optional 'predecessor'
parameter, which if non-NULL is updated to contain the DNSSEC
predecessor of the name searched for. this is done by constructing
an iterator stack while carrying out the search, so it can be used
to step backward if needed.
lib/dns/forward.c
lib/dns/include/dns/qp.h
lib/dns/keytable.c
lib/dns/nametree.c
lib/dns/nta.c
lib/dns/qp.c
lib/dns/zt.c
tests/dns/qp_test.c