aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/ssl_openssl.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2005-12-17 21:56:50 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2005-12-17 21:56:50 +0100
commit7c0a4975a538ab75405e64919bbdfee51b898b2e (patch)
tree47d211522bbed3fda3b33b0233e91e3cf5cb9e23 /protocols/ssl_openssl.c
parentb5a22e33a1aa2500093e783e79de2f44bf53c150 (diff)
parentad8b8a367c8e5dd2816096959682e2187df07c6c (diff)
Moved HTTP-stuff (right now only for passport) into a separate module. This
all works 100% asynchronous and non-blocking, so almost all I/O in BitlBee should be completely non-blocking now! Right now support for other modules than GnuTLS is probably broken, I'll fix it later.
Diffstat (limited to 'protocols/ssl_openssl.c')
-rw-r--r--protocols/ssl_openssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/ssl_openssl.c b/protocols/ssl_openssl.c
index bf87ab73..5a107fc5 100644
--- a/protocols/ssl_openssl.c
+++ b/protocols/ssl_openssl.c
@@ -40,7 +40,7 @@ static gboolean initialized = FALSE;
struct scd
{
- SslInputFunction func;
+ ssl_input_function func;
gpointer data;
int fd;
gboolean established;
@@ -53,7 +53,7 @@ static void ssl_connected( gpointer data, gint source, GaimInputCondition cond )
-void *ssl_connect( char *host, int port, SslInputFunction func, gpointer data )
+void *ssl_connect( char *host, int port, ssl_input_function func, gpointer data )
{
struct scd *conn = g_new0( struct scd, 1 );
SSL_METHOD *meth;