Mercurial > pidgin
comparison libpurple/sslconn.h @ 17233:3bccbafea8c1
- Completed SslConnection fields docs
- Noted lack of code in purple_ssl_init
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Thu, 24 May 2007 21:45:27 +0000 |
parents | bf516a0c430e |
children | 2d2c72f70e8c |
comparison
equal
deleted
inserted
replaced
17232:bf516a0c430e | 17233:3bccbafea8c1 |
---|---|
50 int port; | 50 int port; |
51 /** Data to pass to PurpleSslConnection::connect_cb() */ | 51 /** Data to pass to PurpleSslConnection::connect_cb() */ |
52 void *connect_cb_data; | 52 void *connect_cb_data; |
53 /** Callback triggered once the SSL handshake is complete */ | 53 /** Callback triggered once the SSL handshake is complete */ |
54 PurpleSslInputFunction connect_cb; | 54 PurpleSslInputFunction connect_cb; |
55 /** TODO: Document me! */ | 55 /** Callback triggered if there is an error during connection */ |
56 PurpleSslErrorFunction error_cb; | 56 PurpleSslErrorFunction error_cb; |
57 /** Data passed to PurpleSslConnection::recv_cb() */ | 57 /** Data passed to PurpleSslConnection::recv_cb() */ |
58 /* TODO: Is this stuff even used?? */ | |
59 void *recv_cb_data; | 58 void *recv_cb_data; |
59 /** User-defined callback executed when the SSL connection receives data */ | |
60 PurpleSslInputFunction recv_cb; | 60 PurpleSslInputFunction recv_cb; |
61 | 61 |
62 /** File descriptor used to refer to the socket */ | 62 /** File descriptor used to refer to the socket */ |
63 int fd; | 63 int fd; |
64 /** Glib event source ID; used to refer to the received data callback | |
65 * in the glib eventloop */ | |
64 int inpa; | 66 int inpa; |
67 /** Data related to the underlying TCP connection */ | |
65 PurpleProxyConnectData *connect_data; | 68 PurpleProxyConnectData *connect_data; |
66 | 69 |
67 /** Internal connection data managed by the SSL backend (GnuTLS/LibNSS/whatever) */ | 70 /** Internal connection data managed by the SSL backend (GnuTLS/LibNSS/whatever) */ |
68 void *private_data; | 71 void *private_data; |
69 }; | 72 }; |