lightningd reads from our stdout */
| 2346 | |
| 2347 | /* lightningd reads from our stdout */ |
| 2348 | static struct io_plan *stdout_conn_init(struct io_conn *conn, |
| 2349 | struct plugin *plugin) |
| 2350 | { |
| 2351 | plugin->stdout_conn = conn; |
| 2352 | io_set_finish(conn, ld_conn_finish, plugin); |
| 2353 | return io_wait(plugin->stdout_conn, plugin, ld_write_json, plugin); |
| 2354 | } |
| 2355 | |
| 2356 | static struct plugin *new_plugin(const tal_t *ctx, |
| 2357 | const char *argv0, |
nothing calls this directly
no outgoing calls
no test coverage detected