]> code.citadel.org Git - citadel.git/blobdiff - citadel/sysdep_decls.h
* add possibility to specify the inbound buffer size
[citadel.git] / citadel / sysdep_decls.h
index 13e9bcfc68e06a2b02c9f18f386c89fc5bf44be0..df25cbf9454c3157a5b53108d6f9804172f5461e 100644 (file)
@@ -59,10 +59,14 @@ int ig_uds_server(char *sockpath, int queue_len, char **errormessage);
 void buffer_output(void);
 void unbuffer_output(void);
 void flush_output(void);
-int client_write (char *buf, int nbytes);
+int client_write (const char *buf, int nbytes);
 int client_read_to (char *buf, int bytes, int timeout);
 int client_read (char *buf, int bytes);
 int client_getln (char *buf, int maxbytes);
+int CtdlClientGetLine(StrBuf *Target);
+int client_read_blob(StrBuf *Target, int bytes, int timeout);
+void client_set_inbound_buf(long N);
+int client_read_random_blob(StrBuf *Target, int timeout);
 void sysdep_master_cleanup (void);
 void kill_session (int session_to_kill);
 void start_daemon (int do_close_stdio);