bind9/lib/ns
Evan Hunt 52bba5cc34 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.
2025-12-03 13:26:28 -08:00
..
include Split qctx_destroy() into qctx_deinit() and qctx_destroy() 2025-11-27 10:37:58 +01:00
.gitignore Add support for User Statically Defined Tracing (USDT) probes 2023-08-21 18:39:53 +02:00
client.c Restore recording ns_statscounter_edns0out 2025-11-25 13:26:50 +11:00
hooks.c standardize CHECK and RETERR macros 2025-12-03 13:26:28 -08:00
interfacemgr.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
listenlist.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
meson.build Use unique names for probes.d files 2025-09-24 13:18:13 +02:00
notify.c Improve efficiency of ns_client_t reset 2025-07-10 07:19:47 +02:00
probes-ns.d Use unique names for probes.d files 2025-09-24 13:18:13 +02:00
query.c add RRSIG if required as soon as they are found 2025-12-03 15:49:47 +01:00
server.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
stats.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
update.c standardize CHECK and RETERR macros 2025-12-03 13:26:28 -08:00
xfrout.c standardize CHECK and RETERR macros 2025-12-03 13:26:28 -08:00