]> git.ipfire.org Git - thirdparty/bind9.git/commit
Begin replacement of rbt with qp in rbtdb
authorMatthijs Mekking <matthijs@isc.org>
Tue, 9 Jan 2024 15:18:57 +0000 (16:18 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Wed, 6 Mar 2024 08:57:24 +0000 (09:57 +0100)
commit2edf73dc050025fe91ed51d2c8af52aedd4d6f08
tree549dde0765630549d9af97de76132ed162233802
parent522b6eced02c47b65311ffffb0f09479beef53a9
Begin replacement of rbt with qp in rbtdb

- Copy rbtdb.c, rbt-zonedb.c and rbt-cachedb.c to qp-*.
- Added qpmethods.
- Added a new structure dns_qpdata that will replace dns_rbtnode.
- Replaced normal, nsec, and nsec3 dns_rbt trees with dns_qp tries.
- Replaced dns_rbt_create() calls with dns_qp_create().
- Replaced the dns_rbt_destroy() call with dns_qp_destroy().
- Create a dns_qpdata struct and create/destroy methods.

This commit will not build.
lib/dns/Makefile.am
lib/dns/db.c
lib/dns/include/dns/types.h
lib/dns/qp-cachedb.c [new file with mode: 0644]
lib/dns/qp-zonedb.c [new file with mode: 0644]
lib/dns/qpdb.c [new file with mode: 0644]
lib/dns/qpdb_p.h [new file with mode: 0644]