* Send a JSON-RPC message (request or notification) to the plugin. */
| 464 | * Send a JSON-RPC message (request or notification) to the plugin. |
| 465 | */ |
| 466 | static void plugin_send(struct plugin *plugin, struct json_stream *stream) |
| 467 | { |
| 468 | tal_steal(plugin, stream); |
| 469 | list_add_tail(&plugin->jsouts, &stream->list); |
| 470 | io_wake(plugin); |
| 471 | } |
| 472 | |
| 473 | /* Returns the error string, or NULL */ |
| 474 | static const char *plugin_log_handle(struct plugin *plugin, |
no test coverage detected