bind9/lib/isccfg
Evan Hunt 522ca7bb54 switch to ISC_LIST_FOREACH everywhere
the pattern `for (x = ISC_LIST_HEAD(...); x != NULL; ISC_LIST_NEXT(...)`
has been changed to `ISC_LIST_FOREACH` throughout BIND, except in a few
cases where the change would be excessively complex.

in most cases this was a straightforward change. in some places,
however, the list element variable was referenced after the loop
ended, and the code was refactored to avoid this necessity.

also, because `ISC_LIST_FOREACH` uses typeof(list.head) to declare
the list elements, compilation failures can occur if the list object
has a `const` qualifier.  some `const` qualifiers have been removed
from function parameters to avoid this problem, and where that was not
possible, `UNCONST` was used.
2025-03-31 13:45:10 -07:00
..
include clean up uses of ISC_R_NOMEMORY 2025-01-23 15:54:57 -08:00
aclconf.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
check.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
duration.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
kaspconf.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
Makefile.am Null clausedefs for ancient options 2024-10-01 10:17:04 +02:00
namedconf.c Add an option to disable ZONEVERSION responses 2025-03-24 22:16:09 +00:00
parser.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00