* add fast linebuffered function just cutting its buffer before it reads a new chunk...
[citadel.git] / libcitadel / lib / libcitadel.h
index cffb7bfbb12d3c840953fc746570cfdcdfaced21..59364fdcc124d7511f93b602051a1df345bc1977 100644 (file)
@@ -241,6 +241,13 @@ int StrBufTCP_read_buffered_line(StrBuf *Line,
                                 int timeout, 
                                 int selectresolution, 
                                 const char **Error);
+int StrBufTCP_read_buffered_line_fast(StrBuf *Line, 
+                                     StrBuf *buf, 
+                                     const char **Pos,
+                                     int *fd, 
+                                     int timeout, 
+                                     int selectresolution, 
+                                     const char **Error);
 
 int StrBufSipLine(StrBuf *LineBuf, StrBuf *Buf, const char **Ptr);
 int StrBufExtract_token(StrBuf *dest, const StrBuf *Source, int parmnum, char separator);