From 701acdd41542656493d753a75480bc0594ea74b9 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Fri, 16 Dec 2005 18:58:00 +0100 Subject: Non-blocking SSL handshakes for GnuTLS. The rest might come later, but is slightly less important. --- protocols/ssl_client.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'protocols/ssl_client.h') diff --git a/protocols/ssl_client.h b/protocols/ssl_client.h index a829a7b1..719cd0c4 100644 --- a/protocols/ssl_client.h +++ b/protocols/ssl_client.h @@ -26,6 +26,12 @@ #include #include "proxy.h" +#define SSL_OK 0 +#define SSL_NOHANDSHAKE 1 +#define SSL_AGAIN 2 + +extern int ssl_errno; + typedef void (*SslInputFunction)(gpointer, void*, GaimInputCondition); G_MODULE_EXPORT void *ssl_connect( char *host, int port, SslInputFunction func, gpointer data ); -- cgit v1.2.3