bind9/doc/dev
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
..
copyrights Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dev.md switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
HOW-ADB-WORKS.txt Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
libuv.md Update documentation for 9.20.0 2024-07-08 14:53:01 +02:00
loopmgr.md update docs: only one loopmgr is expected 2024-12-05 10:32:11 +00:00
rdata.md Simplify dns_name_init() 2025-02-25 12:17:34 +01:00
results remove references to obsolete isc_task/timer functions 2023-02-22 08:13:30 +00:00
style.md Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
unexpected De-duplicate __FILE__, __LINE__ 2022-10-17 11:58:26 +01:00