X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/46d06c3918b0080af7e87db986612e23bde4a341..9c44ef13ed639445ee2e8a4037f7b3c5fcc11aa2:/util.h 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);