]> git.ipfire.org Git - thirdparty/bind9.git/commit
add plugin_register param telling the source
authorColin Vidal <colin@isc.org>
Tue, 19 Aug 2025 12:38:36 +0000 (14:38 +0200)
committerColin Vidal <colin@isc.org>
Tue, 9 Sep 2025 07:42:34 +0000 (09:42 +0200)
commit260bbc24c941e2585e196bb91f3e810c52280e21
tree11c6e9b46ca4d9a9efdcd2c0bb8708e4470bd4de
parente8156b394ea5ff3f3c038dc3e44cc837531df876
add plugin_register param telling the source

The plugin `plugin_register` API has a new parameter `source` indicating
whether the plugin is loaded from a view or a zone.

This extra parameter enables the plugin to fail early during
initialization if a plugin written to be used in a zone exclusively
is loaded at a view level, or vice versa.
bin/named/server.c
bin/named/zoneconf.c
bin/plugins/filter-a.c
bin/plugins/filter-aaaa.c
lib/ns/hooks.c
lib/ns/include/ns/hooks.h