| 121 | } |
| 122 | |
| 123 | static struct io_plan *daemon_conn_start(struct io_conn *conn, |
| 124 | struct daemon_conn *dc) |
| 125 | { |
| 126 | return io_duplex(conn, daemon_conn_read_next(conn, dc), |
| 127 | /* Could call daemon_conn_write_next, but we don't |
| 128 | * want it to call empty_cb just yet! */ |
| 129 | msg_queue_wait(conn, dc->out, |
| 130 | daemon_conn_write_next, dc)); |
| 131 | } |
| 132 | |
| 133 | static void destroy_dc_from_conn(struct io_conn *conn, struct daemon_conn *dc) |
| 134 | { |
nothing calls this directly
no test coverage detected