]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/backend.h
io: allow overriding poll function.
[ccan] / ccan / io / backend.h
index 090bff6fb92bf987520d5a94d72a86de92f20036..c8ceb4e864397c5e54c54fe20c3ceddaae2c9e20 100644 (file)
@@ -2,7 +2,6 @@
 #ifndef CCAN_IO_BACKEND_H
 #define CCAN_IO_BACKEND_H
 #include <stdbool.h>
-#include <poll.h>
 #include "io_plan.h"
 #include <ccan/list/list.h>
 
@@ -73,6 +72,7 @@ bool add_listener(struct io_listener *l);
 bool add_conn(struct io_conn *c);
 bool add_duplex(struct io_conn *c);
 void del_listener(struct io_listener *l);
+void cleanup_conn_without_close(struct io_conn *c);
 void backend_new_always(struct io_conn *conn);
 void backend_new_plan(struct io_conn *conn);
 void remove_from_always(struct io_conn *conn);