bind9/bin
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
..
check Replace isc_mem_destroy() with isc_mem_detach() 2025-03-05 11:17:17 +01:00
confgen Replace isc_mem_destroy() with isc_mem_detach() 2025-03-05 11:17:17 +01:00
delv switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
dig switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
dnssec switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
named switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
nsupdate switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
plugins implicitly declare list elements in ISC_LIST_FOREACH macros 2025-03-31 13:37:47 -07:00
rndc Document rndc reset-stats 2025-03-27 08:51:12 +00:00
tests Fix out-of-tree test 2025-03-27 20:07:24 -07:00
tools implicitly declare list elements in ISC_LIST_FOREACH macros 2025-03-31 13:37:47 -07:00
Makefile.am Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00