bind9/bin/check
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
..
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
check-tool.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
check-tool.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
meson.build replace the build system with meson 2025-06-11 10:30:12 +03:00
named-checkconf.c cfg_parse_ functions internally handle the parser 2025-10-23 13:01:08 -07:00
named-checkconf.rst Implement named-checkconf -k (check keys) 2025-09-24 17:03:06 +02:00
named-checkzone.c dnssec-verify now returns failure on bad arguments 2025-10-22 12:45:03 +11:00
named-checkzone.rst Check that a zone that serves A/AAAA is served over IPv4/IPv6 2024-12-11 21:32:21 +00:00
named-compilezone.rst enforce '*._er' requirement for error-reporting zones 2024-10-23 21:29:32 +00:00