aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl_client.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2008-03-23 14:29:19 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2008-03-23 14:29:19 +0000
commit8a2221a79b177a5c6d0b55dafebd39414d7fe10a (patch)
treef6d61c6b93136e6bac705f8c9fc210836fbb19b6 /lib/ssl_client.h
parent851a8c29c681cdc3c9838ed99486822cba927f60 (diff)
Fixed stalling issue with OpenSSL and Jabber (#368).
Diffstat (limited to 'lib/ssl_client.h')
-rw-r--r--lib/ssl_client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ssl_client.h b/lib/ssl_client.h
index dcbf9a01..f91d0d70 100644
--- a/lib/ssl_client.h
+++ b/lib/ssl_client.h
@@ -59,6 +59,9 @@ G_MODULE_EXPORT void *ssl_starttls( int fd, ssl_input_function func, gpointer da
G_MODULE_EXPORT int ssl_read( void *conn, char *buf, int len );
G_MODULE_EXPORT int ssl_write( void *conn, const char *buf, int len );
+/* See ssl_openssl.c for an explanation. */
+G_MODULE_EXPORT int ssl_pending( void *conn );
+
/* Abort the SSL connection and disconnect the socket. Do not use close()
directly, both the SSL library and the peer will be unhappy! */
G_MODULE_EXPORT void ssl_disconnect( void *conn_ );