lightningd writes on our stdin */
| 2337 | |
| 2338 | /* lightningd writes on our stdin */ |
| 2339 | static struct io_plan *stdin_conn_init(struct io_conn *conn, |
| 2340 | struct plugin *plugin) |
| 2341 | { |
| 2342 | plugin->stdin_conn = conn; |
| 2343 | io_set_finish(conn, ld_conn_finish, plugin); |
| 2344 | return ld_read_json(conn, plugin); |
| 2345 | } |
| 2346 | |
| 2347 | /* lightningd reads from our stdout */ |
| 2348 | static struct io_plan *stdout_conn_init(struct io_conn *conn, |
nothing calls this directly
no test coverage detected