]> git.ipfire.org Git - thirdparty/bind9.git/commit
Move zonemgr to own source file
authorMatthijs Mekking <matthijs@isc.org>
Thu, 19 Mar 2026 16:10:18 +0000 (17:10 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Wed, 8 Apr 2026 12:24:17 +0000 (14:24 +0200)
commit080e849eaa8ce40f5be462ae8598f14a0dc5303f
tree21cc8777f47b3c2d06f8f6101629caa04496f5ca
parent634194484dcf81590b30213d690aade4745bfcd5
Move zonemgr to own source file

In order to make zone.c more readable, we are splitting it up in
separate source files. This moves the zonemgr to its own file
("zonemgr.c").

Since this code accesses the zone structure directly, move the
'struct dns_zonemgr' and its prerequisites to "zone_p.h".

The helper functions 'forward_cancel()', 'zone_xfrdone()',
'zmgr_start_xfrin_ifquota()', and 'zmgr_resume_xfrs() need to be
internally accessible to both source files.

Note: This commit does not compile.
14 files changed:
bin/named/server.c
bin/named/statschannel.c
bin/tests/system/dyndb/driver/instance.c
bin/tests/system/dyndb/driver/zone.c
lib/dns/dyndb.c
lib/dns/include/dns/zone.h
lib/dns/include/dns/zonemgr.h [new file with mode: 0644]
lib/dns/meson.build
lib/dns/zone.c
lib/dns/zone_p.h
lib/dns/zonemgr.c [new file with mode: 0644]
tests/dns/zonemgr_test.c
tests/libtest/dns.c
tests/libtest/ns.c