bind9/lib/isccfg
Evan Hunt 25c9fb54da standardize CHECK and RETERR macros
previously, there were over 40 separate definitions of CHECK macros, of
which most used "goto cleanup", and the rest "goto failure" or "goto
out". there were another 10 definitions of RETERR, of which most were
identical to CHECK, but some simply returned a result code instead of
jumping to a cleanup label.

this has now been standardized throughout the code base: RETERR is for
returning an error code in the case of an error, and CHECK is for jumping
to a cleanup tag, which is now always called "cleanup". both macros are
defined in isc/util.h.

(cherry picked from commit 52bba5cc34)
2025-12-03 19:17:20 -08:00
..
include Change checkconf to include built-in dnssec-policy 2025-09-29 15:13:26 +02:00
aclconf.c Apply more SET_IF_NOT_NULL() changes 2024-12-13 13:50:05 +00:00
check.c check validity of key and tls in a server-list 2025-11-28 15:15:46 +01:00
dnsconf.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
duration.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
kaspconf.c Change checkconf to include built-in dnssec-policy 2025-09-29 15:13:26 +02:00
log.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
Makefile.am Move bind9/check to isccfg/check 2023-02-17 12:13:37 +00:00
namedconf.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
parser.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00