diff src/sslconn.h @ 6762:818ce550d2ce

[gaim-migrate @ 7294] Added gaim_ssl_connect_fd(). committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 06 Sep 2003 01:57:18 +0000
parents 6c95f01aaf49
children 6d0d4e9149b9
line wrap: on
line diff
--- a/src/sslconn.h	Sat Sep 06 01:24:50 2003 +0000
+++ b/src/sslconn.h	Sat Sep 06 01:57:18 2003 +0000
@@ -93,6 +93,19 @@
 									void *data);
 
 /**
+ * Makes a SSL connection using an already open file descriptor.
+ *
+ * @param account The account making the connection.
+ * @param fd      The file descriptor.
+ * @param func    The SSL input handler function.
+ * @param data    User-defined data.
+ *
+ * @return The SSL connection handle.
+ */
+GaimSslConnection *gaim_ssl_connect_fd(GaimAccount *account, int fd,
+									   GaimSslInputFunction func, void *data);
+
+/**
  * Closes a SSL connection.
  *
  * @param gsc The SSL connection to close.