]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: dev: Refactor to use list-like macro for message sections
authorAlessio Podda <alessio@isc.org>
Thu, 27 Mar 2025 03:23:47 +0000 (03:23 +0000)
committerAlessio Podda <alessio@isc.org>
Thu, 27 Mar 2025 03:23:47 +0000 (03:23 +0000)
In the code base it is very common to iterate over all names in a message
section and all rdatasets for each name, but various idioms are used for
iteration.

This commit standardizes them as much as possible to a single idiom,
through the macro `MSG_SECTION_FOREACH`, similar to the existing
`ISC_LIST_FOREACH`.

Merge branch 'alessio/message-namelist-refactor' into 'main'

See merge request isc-projects/bind9!10302


Trivial merge