Re: plugin_version

2022-12-15 Thread Ondřej Surý
reply outside your normal working hours. > On 15. 12. 2022, at 21:47, Marcus Kool wrote: > > Hi Ondrej, > > yeah, I was kinda expecting "no guarantees", but isn't the plugin_version() > function a good method candidate to enforce compatibility? > I mean,

Re: plugin_version

2022-12-15 Thread Marcus Kool
Hi Ondrej, yeah, I was kinda expecting "no guarantees", but isn't the plugin_version() function a good method candidate to enforce compatibility? I mean, isn't increasing NS_PLUGIN_VERSION when a (plugin visible) data structure changes, a good way to enforce that only co

Re: plugin_version

2022-12-15 Thread Ondřej Surý
ugin for named and was wondering what the policy behind > the usage of plugin_version() is and what kind of compatibility check it > intends to perform. > > It is common for plugins to use query_ctx_t and its members fname, view, > client (client.message, client.query) etc. > Si

plugin_version

2022-12-15 Thread Marcus Kool
Hi, I have written a plugin for named and was wondering what the policy behind the usage of plugin_version() is and what kind of compatibility check it intends to perform. It is common for plugins to use query_ctx_t and its members fname, view, client (client.message, client.query) etc