]> git.ipfire.org Git - thirdparty/bind9.git/commit
add CFG_LIST_FOREACH macro
authorEvan Hunt <each@isc.org>
Thu, 27 Mar 2025 01:54:05 +0000 (18:54 -0700)
committerEvan Hunt <each@isc.org>
Wed, 28 May 2025 04:08:09 +0000 (21:08 -0700)
commit24d077afb0c53dc71051a281cad45f05132b85cb
treef58081cf728be63c033dd1600f8bd9f489464d50
parentf10f5572ac7e0520eed4516be52df625ad56c860
add CFG_LIST_FOREACH macro

replace the pattern `for (elt = cfg_list_first(x); elt != NULL;
elt = cfg_list_next(elt))` with a new `CFG_LIST_FOREACH` macro.
19 files changed:
.clang-format
bin/check/named-checkconf.c
bin/delv/delv.c
bin/dnssec/dnssectool.c
bin/named/config.c
bin/named/controlconf.c
bin/named/logconf.c
bin/named/server.c
bin/named/statschannel.c
bin/named/transportconf.c
bin/named/tsigconf.c
bin/named/zoneconf.c
bin/rndc/rndc.c
lib/isccfg/aclconf.c
lib/isccfg/check.c
lib/isccfg/include/isccfg/cfg.h
lib/isccfg/kaspconf.c
lib/isccfg/parser.c
tests/isccfg/duration_test.c