]> git.ozlabs.org Git - ccan/commit
io: query whether io_plan in/out have started.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 25 Oct 2017 05:39:47 +0000 (16:09 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 25 Oct 2017 05:39:47 +0000 (16:09 +1030)
commit7082f7d0e81911acb26787949c251dfb298cbdd8
treefefcd5f78e6392833c51d845f6caa8559b2bf05d
parent261b10869ddbb4ac650ef8886c5052b1a8dbeecd
io: query whether io_plan in/out have started.

For lightning, we want to hand the socket off to another daemon, but we need
to be on a packet boundary.  This lets us check if we've part-read or
part-written.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/io/backend.h
ccan/io/io.c
ccan/io/io.h
ccan/io/poll.c
ccan/io/test/run-43-io_plan_in_started.c [new file with mode: 0644]
ccan/io/test/run-44-io_plan_out_started.c [new file with mode: 0644]