mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 22:31:48 +01:00
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:
parent
1f9ddd24b2
commit
c7ce9c55df
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue