mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
plugins: add 'flag' type for plugin options
Updates the plugin docs to include more detailed info about how options work. Changelog-Added: Plugins: 'flag'-type option now available.
This commit is contained in:
committed by
Rusty Russell
parent
a08905c344
commit
42cce55b45
@@ -254,6 +254,12 @@ void plugin_request_send(struct plugin *plugin,
|
||||
*/
|
||||
char *plugin_opt_set(const char *arg, struct plugin_opt *popt);
|
||||
|
||||
/**
|
||||
* Callback called when plugin flag-type options.It just stores
|
||||
* the value in the plugin_opt
|
||||
*/
|
||||
char *plugin_opt_flag_set(struct plugin_opt *popt);
|
||||
|
||||
/**
|
||||
* Helpers to initialize a connection to a plugin; we read from their
|
||||
* stdout, and write to their stdin.
|
||||
|
||||
Reference in New Issue
Block a user