--- a/src/sslconn.h Sat Sep 06 15:15:24 2003 +0000 +++ b/src/sslconn.h Sat Sep 06 16:04:41 2003 +0000 @@ -36,8 +36,10 @@ { char *host; int port; - void *user_data; - GaimSslInputFunction input_func; + void *connect_cb_data; + GaimSslInputFunction connect_cb; + void *recv_cb_data; + GaimSslInputFunction recv_cb; int fd; int inpa; @@ -93,6 +95,16 @@ void *data); /** + * Adds an input watcher for the specified SSL connection. + * + * @param gsc The SSL connection handle. + * @param func The callback function. + * @param data User-defined data. + */ +void gaim_ssl_input_add(GaimSslConnection *gsc, GaimSslInputFunction func, + void *data); + +/** * Makes a SSL connection using an already open file descriptor. * * @param account The account making the connection.