* have select acting like it would accept \n000\n as terminator for the end of blobs
[citadel.git] / libcitadel / lib / libcitadel.h
index 12be21c1c6c14dc90114a147b52910c385a9e2de..fe8e0d09aa5f535ea3aa1a6ad959ea3ed009cd72 100644 (file)
@@ -235,12 +235,15 @@ long StrBufPeek(StrBuf *Buf, const char* ptr, long nThChar, char PeekValue);
 
 int StrBufTCP_read_line(StrBuf *buf, int *fd, int append, const char **Error);
 int StrBufReadBLOB(StrBuf *Buf, int *fd, int append, long nBytes, const char **Error);
+#define NNN_TERM 1
+#define O_TERM 0
 int StrBufReadBLOBBuffered(StrBuf *Buf, 
                           StrBuf *IOBuf, 
                           const char **BufPos,
                           int *fd, 
                           int append, 
                           long nBytes, 
+                          int check, 
                           const char **Error);
 int StrBufTCP_read_buffered_line(StrBuf *Line, 
                                 StrBuf *buf,