bind9/lib/isc/include
Tony Finch 0d6dcd217d
A SET_IF_NOT_NULL() macro for optional return values
The SET_IF_NOT_NULL() macro avoids a fair amount of tedious boilerplate,
checking pointer parameters to see if they're non-NULL and updating
them if they are.  The macro was already in the dns_zone unit, and this
commit moves it to the <isc/util.h> header.

I have included a Coccinelle semantic patch to use SET_IF_NOT_NULL()
where appropriate. The patch needs an #include in `openssl_shim.c`
in order to work.
2023-08-15 12:04:29 +02:00
..
isc A SET_IF_NOT_NULL() macro for optional return values 2023-08-15 12:04:29 +02:00
.clang-format Add separate .clang-format files for headers 2020-02-14 09:31:05 +01:00