| 988 | static struct io_plan *read_from_subd(struct io_conn *subd_conn, |
| 989 | struct subd *subd); |
| 990 | static struct io_plan *read_from_subd_done(struct io_conn *subd_conn, |
| 991 | struct subd *subd) |
| 992 | { |
| 993 | maybe_update_channelid(subd, subd->in); |
| 994 | |
| 995 | /* Tell them to encrypt & write. */ |
| 996 | msg_enqueue(subd->peer->peer_outq, take(subd->in)); |
| 997 | subd->in = NULL; |
| 998 | |
| 999 | /* Wait for them to wake us */ |
| 1000 | return io_wait(subd_conn, &subd->peer->subds, read_from_subd, subd); |
| 1001 | } |
| 1002 | |
| 1003 | static struct io_plan *read_from_subd(struct io_conn *subd_conn, |
| 1004 | struct subd *subd) |
nothing calls this directly
no test coverage detected