Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
6763:362e60e7c265 | 6764:6d0d4e9149b9 |
---|---|
34 | 34 |
35 struct _GaimSslConnection | 35 struct _GaimSslConnection |
36 { | 36 { |
37 char *host; | 37 char *host; |
38 int port; | 38 int port; |
39 void *user_data; | 39 void *connect_cb_data; |
40 GaimSslInputFunction input_func; | 40 GaimSslInputFunction connect_cb; |
41 void *recv_cb_data; | |
42 GaimSslInputFunction recv_cb; | |
41 | 43 |
42 int fd; | 44 int fd; |
43 int inpa; | 45 int inpa; |
44 | 46 |
45 void *private_data; | 47 void *private_data; |
88 * | 90 * |
89 * @return The SSL connection handle. | 91 * @return The SSL connection handle. |
90 */ | 92 */ |
91 GaimSslConnection *gaim_ssl_connect(GaimAccount *account, const char *host, | 93 GaimSslConnection *gaim_ssl_connect(GaimAccount *account, const char *host, |
92 int port, GaimSslInputFunction func, | 94 int port, GaimSslInputFunction func, |
95 void *data); | |
96 | |
97 /** | |
98 * Adds an input watcher for the specified SSL connection. | |
99 * | |
100 * @param gsc The SSL connection handle. | |
101 * @param func The callback function. | |
102 * @param data User-defined data. | |
103 */ | |
104 void gaim_ssl_input_add(GaimSslConnection *gsc, GaimSslInputFunction func, | |
93 void *data); | 105 void *data); |
94 | 106 |
95 /** | 107 /** |
96 * Makes a SSL connection using an already open file descriptor. | 108 * Makes a SSL connection using an already open file descriptor. |
97 * | 109 * |