MCPcopy Create free account
hub / github.com/ElementsProject/lightning / plugin_register_all_complete

Function plugin_register_all_complete

lightningd/plugin.c:185–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185struct command_result *plugin_register_all_complete(struct lightningd *ld,
186 struct plugin_command *pcmd)
187{
188 if (plugins_all_in_state(ld->plugins, INIT_COMPLETE))
189 return plugin_cmd_all_complete(ld->plugins, pcmd);
190
191 tal_arr_expand(&ld->plugins->plugin_cmds, pcmd);
192 return NULL;
193}
194
195static void destroy_plugin(struct plugin *p)
196{

Callers 2

plugin_dynamic_startdirFunction · 0.85

Calls 2

plugins_all_in_stateFunction · 0.85
plugin_cmd_all_completeFunction · 0.85

Tested by

no test coverage detected