Check address family in init functions.
Update example in comment to match current usage.
Add `sa_update()` function.
Ood is available under a BSD-style license. See the LICENSE file for details.
Ood is tested on macOS, Linux, FreeBSD and OpenBSD. Building it requires a C toolchain and CMake 3.13 or later.
git clone https://git.sr.ht/~donmcc/ood cd ood cmake -S . -B tmp cmake --build tmp --target all test
To build with the Address Sanitizer enabled, set the
cmake -S . -B tmp -DADDRESS_SANITIZER=ON
Mac users note that the
clang that ships with Xcode accepts the
-fsanitize=address flag, but doesn't actually include the Address Sanitizer.
COVERAGE option to
ON to generate coverage files.
cmake -S . -B tmp -DCOVERAGE=ON
WALL option to
ON turns on additional warnings using the
compiler option and treats warnings as errors.
WALL is off by default but
should be turned on for development and integration builds.
cmake -S . -B tmp -DCOVERAGE=ON -DWALL=ON