| 1398 | static struct io_plan *read_from_subd(struct io_conn *subd_conn, |
| 1399 | struct subd *subd); |
| 1400 | static struct io_plan *read_from_subd_done(struct io_conn *subd_conn, |
| 1401 | struct subd *subd) |
| 1402 | { |
| 1403 | maybe_update_channelid(subd, subd->in); |
| 1404 | |
| 1405 | /* Tell them to encrypt & write. */ |
| 1406 | msg_to_peer_outq(subd->peer, take(subd->in)); |
| 1407 | subd->in = NULL; |
| 1408 | |
| 1409 | /* Wait for them to wake us */ |
| 1410 | return io_wait(subd_conn, &subd->peer->subds, read_from_subd, subd); |
| 1411 | } |
| 1412 | |
| 1413 | static struct io_plan *read_from_subd(struct io_conn *subd_conn, |
| 1414 | struct subd *subd) |
nothing calls this directly
no test coverage detected