]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/backend.h
ccan/io: put explicit poll flags in the plan.
[ccan] / ccan / io / backend.h
index 3c5b3f8b781bb38ab014fee995b9272ad4164c28..2eb333091c187b4c39dc5ade4e4e7d84ee6054c2 100644 (file)
@@ -77,6 +77,7 @@ struct io_conn {
        struct io_conn *duplex;
        struct io_timeout *timeout;
 
+       int pollflag; /* 0, POLLIN or POLLOUT */
        enum io_state state;
        union {
                struct io_state_read read;