]> code.citadel.org Git - citadel.git/blobdiff - webcit/webserver.h
* move to the new linebuffered function while linebased reading from webbrowser and...
[citadel.git] / webcit / webserver.h
index 37b899cf6ea4c70cd423d409efb5b2301a4fe573..62a02bf96ea6df060dc864cf8d145f064931b041 100644 (file)
@@ -5,8 +5,11 @@ extern char *static_content_dirs[PATH_MAX];  /**< Disk representation */
 extern int ndirs;
 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, char *buf, int bytes);
-int client_read_to(int *sock, char *buf, int bytes, int timeout);
+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 lprintf(int loglevel, const char *format, ...);
 void wc_backtrace(void);
+void ShutDownWebcit(void);
+void shutdown_ssl(void);