bind9/bin
Colin Vidal 25e258fb0b provide a context structure for plugin_register()
This commit introduces a new type, ns_pluginregister_ctx_t,
which is passed to plugin_check() and plugin_register() in place of the
'source' parameter. The source value is now just part of the structure,
which also holds a pointer to the zone origin if the plugin is loaded at
a zone level.

This provides more contextual information, enabling the plugin to make
specific configuration decisions based on the name of the zone for which
it is loaded.

It's also flexible if more contextual data are needed in the future:
add a new field to ns_pluginregister_ctx_t, and new plugins can use
it without affecting compatibility with existing plugins.
2025-10-01 11:11:00 +02:00
..
check Implement named-checkconf -k (check keys) 2025-09-24 17:03:06 +02:00
confgen Change the 'isc_g_mctx' to be always available 2025-08-04 11:29:50 +02:00
delv Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
dig Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
dnssec Implement named-checkconf -k (check keys) 2025-09-24 17:03:06 +02:00
named provide a context structure for plugin_register() 2025-10-01 11:11:00 +02:00
nsupdate Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
plugins provide a context structure for plugin_register() 2025-10-01 11:11:00 +02:00
rndc Document rndc dnssec -step 2025-09-04 15:41:43 +02:00
tests provide a context structure for plugin_register() 2025-10-01 11:11:00 +02:00
tools Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
meson.build replace the build system with meson 2025-06-11 10:30:12 +03:00