libplugin: add plugin_option_dev_dynamic (our first dynamic dev option coming).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2024-06-20 11:23:19 +09:30
parent 1f9ddd24b2
commit c7ce9c55df

View file

@ -470,6 +470,9 @@ bool plugin_developer_mode(const struct plugin *plugin);
#define plugin_option_dev(name, type, description, set, jsonfmt, arg) \
plugin_option_((name), (type), (description), (set), (jsonfmt), (arg), true, NULL, NULL, false)
#define plugin_option_dev_dynamic(name, type, description, set, jsonfmt, arg) \
plugin_option_((name), (type), (description), (set), (jsonfmt), (arg), true, NULL, NULL, true)
#define plugin_option_dynamic(name, type, description, set, jsonfmt, arg) \
plugin_option_((name), (type), (description), (set), (jsonfmt), (arg), false, NULL, NULL, true)