Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
6761:ddbe06989d46 | 6762:818ce550d2ce |
---|---|
91 GaimSslConnection *gaim_ssl_connect(GaimAccount *account, const char *host, | 91 GaimSslConnection *gaim_ssl_connect(GaimAccount *account, const char *host, |
92 int port, GaimSslInputFunction func, | 92 int port, GaimSslInputFunction func, |
93 void *data); | 93 void *data); |
94 | 94 |
95 /** | 95 /** |
96 * Makes a SSL connection using an already open file descriptor. | |
97 * | |
98 * @param account The account making the connection. | |
99 * @param fd The file descriptor. | |
100 * @param func The SSL input handler function. | |
101 * @param data User-defined data. | |
102 * | |
103 * @return The SSL connection handle. | |
104 */ | |
105 GaimSslConnection *gaim_ssl_connect_fd(GaimAccount *account, int fd, | |
106 GaimSslInputFunction func, void *data); | |
107 | |
108 /** | |
96 * Closes a SSL connection. | 109 * Closes a SSL connection. |
97 * | 110 * |
98 * @param gsc The SSL connection to close. | 111 * @param gsc The SSL connection to close. |
99 */ | 112 */ |
100 void gaim_ssl_close(GaimSslConnection *gsc); | 113 void gaim_ssl_close(GaimSslConnection *gsc); |