diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2005-12-16 18:58:00 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2005-12-16 18:58:00 +0100 |
commit | 701acdd41542656493d753a75480bc0594ea74b9 (patch) | |
tree | 6c744a64385511df327f9fa8c3081d81d18b4770 /protocols/ssl_client.h | |
parent | c4168f4cfe553d111941ee385a94facb5449652d (diff) |
Non-blocking SSL handshakes for GnuTLS. The rest might come later, but is
slightly less important.
Diffstat (limited to 'protocols/ssl_client.h')
-rw-r--r-- | protocols/ssl_client.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 <glib.h> #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 ); |