bind9/lib
Colin Vidal 77e0104cf4 shrunk cfgobj down to 48bytes
Make all non-scalar properties of `cfg_obj_t` allocated values, which
ensures the union size is the width of one pointer. Also reorder the
fields inside `cfg_obj_t` to avoid alignment padding that would increase
the size. As a result, a `cfg_obj_t` instance is now 48 bytes on a
64-bit platform.

Add a static assertion to avoid increasing the size of the struct by
mistake.

The function `parse_sockaddrsub` was taking advantage of the fact that
both sockaddr and sockaddrtls were in the same position, and used to
initialize the sockaddr field independently if this was a -tls one or
not. This doesn't work anymore now that all fields are allocated,
so it has been slightly rewritten to take both cases into account
separately.
2025-12-05 08:59:53 +01:00
..
dns document usage of BIND9 constructors/destructors 2025-12-04 16:09:40 +01:00
isc document usage of BIND9 constructors/destructors 2025-12-04 16:09:40 +01:00
isccc switch to RETERR where it wasn't being used 2025-12-03 13:45:43 -08:00
isccfg shrunk cfgobj down to 48bytes 2025-12-05 08:59:53 +01:00
ns use a standard CLEANUP macro 2025-12-03 13:45:43 -08:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
meson.build replace the build system with meson 2025-06-11 10:30:12 +03:00