Convert all categories and modules into static lists

Remove the complicated mechanism that could be (in theory) used by
external libraries to register new categories and modules with
statically defined lists in <isc/log.h>.  This is similar to what we
have done for <isc/result.h> result codes.  All the libraries are now
internal to BIND 9, so we don't need to provide a mechanism to register
extra categories and modules.
This commit is contained in:
Ondřej Surý
2024-08-14 13:25:50 +02:00
parent 8506102216
commit 091d738c72
122 changed files with 518 additions and 1140 deletions

View File

@@ -1076,7 +1076,7 @@ the following steps need to be taken to initialize it.
the DNS library, include the following:
#include <isc/log.h>
#include <dns/log.h>
log.h>/log.h>
1. Initialize a logging context. A logging context needs a valid
memory context in order to work, so the following code snippet shows a