| 178 | } |
| 179 | |
| 180 | struct command_result *plugin_register_all_complete(struct lightningd *ld, |
| 181 | struct plugin_command *pcmd) |
| 182 | { |
| 183 | if (plugins_all_in_state(ld->plugins, INIT_COMPLETE)) |
| 184 | return plugin_cmd_all_complete(ld->plugins, pcmd); |
| 185 | |
| 186 | tal_arr_expand(&ld->plugins->plugin_cmds, pcmd); |
| 187 | return NULL; |
| 188 | } |
| 189 | |
| 190 | static void tell_connectd_custommsgs(struct plugins *plugins) |
| 191 | { |
no test coverage detected