bind9/bin/plugins
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
..
filter-a.c provide a context structure for plugin_register() 2025-10-01 11:11:00 +02:00
filter-a.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
filter-aaaa.c provide a context structure for plugin_register() 2025-10-01 11:11:00 +02:00
filter-aaaa.rst clean up some deprecated/obsolete options and doc 2023-02-10 09:52:27 -08:00
meson.build replace the build system with meson 2025-06-11 10:30:12 +03:00