| 1302 | static struct io_plan *read_from_subd(struct io_conn *subd_conn, |
| 1303 | struct subd *subd); |
| 1304 | static struct io_plan *read_from_subd_done(struct io_conn *subd_conn, |
| 1305 | struct subd *subd) |
| 1306 | { |
| 1307 | maybe_update_channelid(subd, subd->in); |
| 1308 | |
| 1309 | /* Tell them to encrypt & write. */ |
| 1310 | msg_to_peer_outq(subd->peer, take(subd->in)); |
| 1311 | subd->in = NULL; |
| 1312 | |
| 1313 | /* Wait for them to wake us */ |
| 1314 | return io_wait(subd_conn, &subd->peer->subds, read_from_subd, subd); |
| 1315 | } |
| 1316 | |
| 1317 | static struct io_plan *read_from_subd(struct io_conn *subd_conn, |
| 1318 | struct subd *subd) |
nothing calls this directly
no test coverage detected