]> git.ipfire.org Git - thirdparty/bind9.git/commit
remove parser context field from cfg_obj_t
authorColin Vidal <colin@isc.org>
Tue, 21 Oct 2025 13:41:55 +0000 (15:41 +0200)
committerEvan Hunt <each@isc.org>
Thu, 23 Oct 2025 19:59:58 +0000 (12:59 -0700)
commit7706f5acec93f90808d988152376ef563135be21
tree52fda294403d2039ef20c2a46a9aa3d3d534205a
parent0d8c4044ab13e7d3b2dd0a7e25dbca34c08f2cdd
remove parser context field from cfg_obj_t

cfg_obj_t doesn't store a pointer to its a parser context anymore,
and does not depend on the parser's lifecycle. Instead, it stores a
reference to its own memory context (and in principle, each node
could have different memory context). This also slightly simplifies
the _destroy API as there is no need to pass a context through it
anymore.
22 files changed:
bin/check/named-checkconf.c
bin/delv/delv.c
bin/dig/dighost.c
bin/dnssec/dnssec-keygen.c
bin/dnssec/dnssec-ksr.c
bin/named/config.c
bin/named/controlconf.c
bin/named/main.c
bin/named/server.c
bin/nsupdate/nsupdate.c
bin/plugins/filter-a.c
bin/plugins/filter-aaaa.c
bin/plugins/synthrecord.c
bin/rndc/rndc.c
bin/tests/system/hooks/driver/test-syncplugin.c
doc/misc/cfg_test.c
lib/isccfg/include/isccfg/cfg.h
lib/isccfg/include/isccfg/grammar.h
lib/isccfg/namedconf.c
lib/isccfg/parser.c
tests/isccfg/duration_test.c
tests/isccfg/parser_test.c