X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=util.h;h=63ceef69b9581165d3aaaf7e9dad8b09f40a6205;hb=ed5d1eea357995d2c1e38b4ef3fffc7ebc891d8d;hp=3549eb0fa251853c28f5c3aac1cdcd184c9ce180;hpb=1e2a98b165de114472f46273ef5b123cf9dd60be;p=secnet.git diff --git a/util.h b/util.h index 3549eb0..63ceef6 100644 --- a/util.h +++ b/util.h @@ -98,6 +98,8 @@ enum async_linebuf_result { async_linebuf_broken, }; +const char *pollbadbit(int revents); /* returns 0, or bad bit description */ + enum async_linebuf_result async_linebuf_read(struct pollfd *pfd, struct buffer_if *buf, const char **emsg_out);