* start migration to buffered I/O
[citadel.git] / citadel / modules / crypto / serv_crypto.h
index ff20828be0654f24ec05b5506b45601363b022d1..40c5d4807cfcaf3902d50c90cd4d0e17f3b585f3 100644 (file)
@@ -15,7 +15,9 @@
 void destruct_ssl(void);
 void init_ssl(void);
 void client_write_ssl (const char *buf, int nbytes);
-int client_read_ssl (char *buf, int bytes, int timeout);
+int client_read_sslbuffer(StrBuf *buf, int timeout);
+int client_readline_sslbuffer(StrBuf *Target, StrBuf *Buffer, int timeout);
+int client_read_sslblob(StrBuf *Target, long want_len, int timeout);
 void cmd_stls(char *params);
 void cmd_gtls(char *params);
 void endtls(void);