]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - libcharybdis/linebuf.h
linebuf_flush(): use fde_t's.
[irc/rqf/shadowircd.git] / libcharybdis / linebuf.h
index 5444fe3731b2962b3452a6f23648ca182d15c89a..df84dbc4698d0c79da55a62b85fc50aaef590f5e 100644 (file)
@@ -28,6 +28,7 @@
 #define __LINEBUF_H__
 
 #include "tools.h"
+#include "commio.h"
 
 /* How big we want a buffer - 510 data bytes, plus space for a '\0' */
 #define BUF_DATA_SIZE          511
@@ -80,7 +81,7 @@ extern void linebuf_donebuf(buf_head_t *);
 extern int linebuf_parse(buf_head_t *, char *, int, int);
 extern int linebuf_get(buf_head_t *, char *, int, int, int);
 extern void linebuf_putmsg(buf_head_t *, const char *, va_list *, const char *, ...);
-extern int linebuf_flush(int, buf_head_t *);
+extern int linebuf_flush(fde_t *, buf_head_t *);
 extern void linebuf_attach(buf_head_t *, buf_head_t *);
 extern void count_linebuf_memory(size_t *, size_t *);
 #endif