mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
plugin: Configure plugins once we've collected all cli options
This commit is contained in:
parent
55d6d6b0e7
commit
404352fc7e
@ -411,6 +411,10 @@ void plugins_init(struct plugins *plugins)
|
||||
io_loop(NULL, NULL);
|
||||
}
|
||||
|
||||
void plugins_config(struct plugins *plugins)
|
||||
{
|
||||
}
|
||||
|
||||
void json_add_opt_plugins(struct json_stream *response,
|
||||
const struct plugins *plugins)
|
||||
{
|
||||
|
@ -37,6 +37,15 @@ void plugins_init(struct plugins *plugins);
|
||||
*/
|
||||
void plugin_register(struct plugins *plugins, const char* path TAKES);
|
||||
|
||||
/**
|
||||
* Send the configure message to all plugins.
|
||||
*
|
||||
* Once we've collected all the command line arguments we can go ahead
|
||||
* and send them over to the plugin. This finalizes the initialization
|
||||
* of the plugins and signals that lightningd is now ready to process
|
||||
* incoming JSON-RPC calls and messages.
|
||||
*/
|
||||
void plugins_config(struct plugins *plugins);
|
||||
/**
|
||||
* Add the plugin option and their respective options to listconfigs.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user