]> git.ipfire.org Git - thirdparty/bind9.git/commit
clean up dns_rbt
authorEvan Hunt <each@isc.org>
Thu, 5 Oct 2023 01:14:55 +0000 (18:14 -0700)
committerEvan Hunt <each@isc.org>
Wed, 14 Feb 2024 09:36:44 +0000 (01:36 -0800)
commitac9bd03a0d092e4de01ecf70683b4a128ae4cc0b
tree0ae5cb59c693def7aaf27f6001cf2040bd2b9454
parent7d1e622b5f956ec5ab39681cc1422432a75dd0d8
clean up dns_rbt

- create_node() in rbt.c cannot fail
- the dns_rbt_*name() functions, which are wrappers around
  dns_rbt_[add|find|delete]node(), were never used except in tests.

this change isn't really necessary since RBT is likely to go away
eventually anyway. but keeping the API as simple as possible while it
persists is a good thing, and may reduce confusion while QPDB is being
developed from RBTDB code.
lib/dns/include/dns/rbt.h
lib/dns/rbt.c
lib/dns/rbtdb.c
tests/bench/load-names.c
tests/dns/rbt_test.c