X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fcrypto%2Fserv_crypto.h;h=40c5d4807cfcaf3902d50c90cd4d0e17f3b585f3;hb=cb45c6bab6711b3b62ca0ac8ae18a1fdb95fb44a;hp=ff20828be0654f24ec05b5506b45601363b022d1;hpb=5f64f2053612a1c695a94c7c7008182fc7058182;p=citadel.git diff --git a/citadel/modules/crypto/serv_crypto.h b/citadel/modules/crypto/serv_crypto.h index ff20828be..40c5d4807 100644 --- a/citadel/modules/crypto/serv_crypto.h +++ b/citadel/modules/crypto/serv_crypto.h @@ -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);