ccan/io: eliminate dir argument from io_wait and io_always.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Aug 2014 08:11:21 +0000 (17:41 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Aug 2014 08:11:21 +0000 (17:41 +0930)
commit6109a0a6140acbbfe5e998f7d7ea1215f035cb90
treec379f2a9b4140a8c8d2001b66e8e98c539a0bd57
parentcdffdf5d61f8330cfc3467e73a84876eb3928e9b
ccan/io: eliminate dir argument from io_wait and io_always.

We can use either empty slot for this, so figure it out internally.

This could cause problems if you want to use it with io_duplex, so
document that.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/io/_info
ccan/io/io.c
ccan/io/io.h
ccan/io/io_plan.h
ccan/io/test/run-06-idle.c
ccan/io/test/run-08-hangup-on-idle.c
ccan/io/test/run-08-read-after-hangup.c
ccan/io/test/run-10-many.c
ccan/io/test/run-13-all-idle.c