diff src/sslconn.h @ 6764:6d0d4e9149b9

[gaim-migrate @ 7296] well, jabber.org is being a pain in the moment, as is my server. but this seems to work, so here it is. Jabber SSL support. Make sure you set the port to 5223 and check the "Use SSL" checkbox in the account editor. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 06 Sep 2003 16:04:41 +0000
parents 818ce550d2ce
children efef00de3f09
line wrap: on
line diff
--- 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.