]> git.ipfire.org Git - thirdparty/bind9.git/commit
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)
commit1d14612bb9719453e2bbd7f7b6f274fb95c38ac7
treed7d7aa67d8b2bb3a945f7a3cfe1831ed39961270
parent52a04a368b7a79ead08fbc2849ea3cfd876ea53b
parent2f27d664502a2e70bda9ddd9923444dfc7ff7d94
fix: dev: Refactor to use list-like macro for message sections

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