bind9/lib/ns
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 Implement '-T slowrpz' named testing option 2025-08-27 10:00:45 +00:00
.gitignore Add support for User Statically Defined Tracing (USDT) probes 2023-08-21 18:39:53 +02:00
client.c Log dropped or slipped responses in the query-errors category 2025-07-10 08:57:27 +00:00
hooks.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
interfacemgr.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
listenlist.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
log.c Log the rcode returned to for a query 2024-09-30 00:10:47 +00:00
Makefile.am Add support for User Statically Defined Tracing (USDT) probes 2023-08-21 18:39:53 +02:00
notify.c convert TSIG keyring storage from RBT to hash table 2023-06-14 08:14:38 +00:00
probes.d Add a probe when the response rate limiting drops or slips query 2023-08-21 18:39:53 +02:00
query.c Detect resolution loops between fetches 2025-11-28 09:32:53 +01:00
server.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
sortlist.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
stats.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +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 19:17:20 -08:00
xfrout.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00