lightningd: list disabled plugins in listconfig.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2020-05-05 10:45:34 +09:30
parent 24063ca972
commit fe365f930f
4 changed files with 24 additions and 1 deletions

View File

@@ -274,6 +274,12 @@ void json_add_opt_plugins(struct json_stream *response,
const struct plugins *plugins);
/**
* Add the disable-plugins options to listconfigs.
*/
void json_add_opt_disable_plugins(struct json_stream *response,
const struct plugins *plugins);
/**
* Used by db hooks which can't have any other I/O while talking to plugin.
*