mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
add a parser to filter-aaaa.so and pass in the parameters
- make some cfg-parsing functions global so they can be run from filter-aaaa.so - add filter-aaaa options to the hook module's parser - mark filter-aaaa options in named.conf as obsolete, remove from named and checkconf, and update the filter-aaaa test not to use checkconf anymore - remove filter-aaaa-related struct members from dns_view
This commit is contained in:
@@ -330,6 +330,7 @@ unload_library(ns_hook_module_t **hmodp) {
|
||||
isc_result_t
|
||||
ns_hookmodule_load(const char *libname, const char *parameters,
|
||||
const char *file, unsigned long line,
|
||||
const void *cfg, void *actx,
|
||||
ns_hookctx_t *hctx, ns_hooktable_t *hooktable)
|
||||
{
|
||||
isc_result_t result;
|
||||
@@ -342,8 +343,9 @@ ns_hookmodule_load(const char *libname, const char *parameters,
|
||||
"loading module '%s'", libname);
|
||||
|
||||
CHECK(load_library(hctx->mctx, libname, &module));
|
||||
CHECK(module->register_func(parameters, file, line, hctx,
|
||||
hooktable, &module->inst));
|
||||
CHECK(module->register_func(parameters, file, line,
|
||||
cfg, actx, hctx, hooktable,
|
||||
&module->inst));
|
||||
|
||||
APPEND(hook_modules, module, link);
|
||||
result = ISC_R_SUCCESS;
|
||||
|
Reference in New Issue
Block a user