ccan/io: io_close_cb()
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 14 Oct 2013 11:02:57 +0000 (21:32 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 14 Oct 2013 11:02:57 +0000 (21:32 +1030)
commit3a7b8a8a8081ebbb6457527de376dec6264bc381
treea6abdc5cad3333c89d4e5c9471f7df283213dc68
parent869dc1528e64604e9264c6f12e0f2cb79bf3d79e
ccan/io: io_close_cb()

Overloading io_close() as a callback is ugly: create an explicit
io_close_cb().

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
18 files changed:
ccan/io/_info
ccan/io/benchmarks/run-loop.c
ccan/io/io.c
ccan/io/io.h
ccan/io/poll.c
ccan/io/test/run-01-start-finish.c
ccan/io/test/run-02-read.c
ccan/io/test/run-03-readpartial.c
ccan/io/test/run-04-writepartial.c
ccan/io/test/run-05-write.c
ccan/io/test/run-06-idle.c
ccan/io/test/run-07-break.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-12-bidir.c
ccan/io/test/run-15-timeout.c
ccan/io/test/run-17-homemade-io.c