]> code.citadel.org Git - citadel.git/blobdiff - webcit/webserver.h
* migrate http read logic to the strbuf controlled readbuffered internal fast mode
[citadel.git] / webcit / webserver.h
index 62a02bf96ea6df060dc864cf8d145f064931b041..ddb3fb797f16774d75689a88474269a4788ea3f0 100644 (file)
@@ -7,8 +7,7 @@ extern char socket_dir[PATH_MAX];
 
 int ClientGetLine(int *sock, StrBuf *Target, StrBuf *CLineBuf, const char **Pos);
 int client_getln(int *sock, char *buf, int bufsiz);
-int client_read(int *sock, StrBuf *Target, StrBuf *buf, int bytes);
-int client_read_to(int *sock, StrBuf *Target, StrBuf *Buf, int bytes, int timeout);
+int client_read_to(int *sock, StrBuf *Target, StrBuf *Buf, const char **Pos, int bytes, int timeout);
 int lprintf(int loglevel, const char *format, ...);
 void wc_backtrace(void);
 void ShutDownWebcit(void);