| 685 | } |
| 686 | |
| 687 | static struct io_plan *msg_setup(struct io_conn *conn, struct subd *sd) |
| 688 | { |
| 689 | return io_duplex(conn, |
| 690 | io_read_wire(conn, sd, &sd->msg_in, sd_msg_read, sd), |
| 691 | msg_send_next(conn, sd)); |
| 692 | } |
| 693 | |
| 694 | static struct subd *new_subd(const tal_t *ctx, |
| 695 | struct lightningd *ld, |
nothing calls this directly
no test coverage detected