| 274 | } |
| 275 | |
| 276 | static void ld_rpc_send(struct plugin *plugin, struct json_stream *stream) |
| 277 | { |
| 278 | struct jstream *jstr = tal(plugin, struct jstream); |
| 279 | jstr->js = tal_steal(jstr, stream); |
| 280 | list_add_tail(&plugin->rpc_js_list, &jstr->list); |
| 281 | if (plugin->io_rpc_conn) |
| 282 | io_wake(plugin->io_rpc_conn); |
| 283 | } |
| 284 | |
| 285 | /* Ignore the result, and terminate the timer/aux/hook */ |
| 286 | struct command_result *ignore_and_complete(struct command *cmd, |
no test coverage detected