diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2005-12-17 21:56:50 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2005-12-17 21:56:50 +0100 |
commit | 7c0a4975a538ab75405e64919bbdfee51b898b2e (patch) | |
tree | 47d211522bbed3fda3b33b0233e91e3cf5cb9e23 /protocols/ssl_nss.c | |
parent | b5a22e33a1aa2500093e783e79de2f44bf53c150 (diff) | |
parent | ad8b8a367c8e5dd2816096959682e2187df07c6c (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_nss.c')
-rw-r--r-- | protocols/ssl_nss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/ssl_nss.c b/protocols/ssl_nss.c index d28983fc..dfd32622 100644 --- a/protocols/ssl_nss.c +++ b/protocols/ssl_nss.c @@ -44,7 +44,7 @@ static gboolean initialized = FALSE; struct scd { - SslInputFunction func; + ssl_input_function func; gpointer data; int fd; PRFileDesc *prfd; @@ -90,7 +90,7 @@ static SECStatus nss_bad_cert (void *arg, PRFileDesc *socket) } -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 ); |