From c7ce9c55df65f352ebc8de4191675f8ab3613349 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 20 Jun 2024 11:23:19 +0930 Subject: [PATCH] libplugin: add plugin_option_dev_dynamic (our first dynamic dev option coming). Signed-off-by: Rusty Russell --- plugins/libplugin.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/libplugin.h b/plugins/libplugin.h index 07e959d3c..9b2a5c748 100644 --- a/plugins/libplugin.h +++ b/plugins/libplugin.h @@ -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)