lightningd writes on our stdin */
| 2327 | |
| 2328 | /* lightningd writes on our stdin */ |
| 2329 | static struct io_plan *stdin_conn_init(struct io_conn *conn, |
| 2330 | struct plugin *plugin) |
| 2331 | { |
| 2332 | plugin->stdin_conn = conn; |
| 2333 | io_set_finish(conn, ld_conn_finish, plugin); |
| 2334 | return ld_read_json(conn, plugin); |
| 2335 | } |
| 2336 | |
| 2337 | /* lightningd reads from our stdout */ |
| 2338 | static struct io_plan *stdout_conn_init(struct io_conn *conn, |
nothing calls this directly
no test coverage detected