bind9/bin
Colin Vidal d03f6e6fd4 cfg_parse_ functions internally handle the parser
Instead of (1) allocating a parser, (2) parsing a file/buffer then (3)
freeing the parser, the parser is now internally created/destroyed from
within the `cfg_parse_*` functions. This simplifies a lot the use cases,
especially around the error cases where the parser needs to be freed in
a cleanup goto.

The only trick was the parser callback mechanism, which would previously
have been set up between steps 1 and 2.  Since it's never been used for
any purpose other than the "directory" option, the chdir call has now
been moved inside the parser and the generic callback mechanism has been
removed, replacing CFG_CLAUSEFLAG_CALLBACK with CFG_CLAUSEFLAG_CHDIR.
2025-10-23 13:01:08 -07:00
..
check cfg_parse_ functions internally handle the parser 2025-10-23 13:01:08 -07:00
confgen Change the 'isc_g_mctx' to be always available 2025-08-04 11:29:50 +02:00
delv cfg_parse_ functions internally handle the parser 2025-10-23 13:01:08 -07:00
dig cfg_parse_ functions internally handle the parser 2025-10-23 13:01:08 -07:00
dnssec cfg_parse_ functions internally handle the parser 2025-10-23 13:01:08 -07:00
named cfg_parse_ functions internally handle the parser 2025-10-23 13:01:08 -07:00
nsupdate cfg_parse_ functions internally handle the parser 2025-10-23 13:01:08 -07:00
plugins cfg_parse_ functions internally handle the parser 2025-10-23 13:01:08 -07:00
rndc cfg_parse_ functions internally handle the parser 2025-10-23 13:01:08 -07:00
tests cfg_parse_ functions internally handle the parser 2025-10-23 13:01:08 -07:00
tools Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
meson.build replace the build system with meson 2025-06-11 10:30:12 +03:00