Mercurial > pidgin
comparison libpurple/sslconn.h @ 17231:a7887e79b723
Partial documentation on SslConnection struct
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Thu, 24 May 2007 04:56:45 +0000 |
parents | 4248f884451f |
children | bf516a0c430e |
comparison
equal
deleted
inserted
replaced
17230:4248f884451f | 17231:a7887e79b723 |
---|---|
42 typedef void (*PurpleSslErrorFunction)(PurpleSslConnection *, PurpleSslErrorType, | 42 typedef void (*PurpleSslErrorFunction)(PurpleSslConnection *, PurpleSslErrorType, |
43 gpointer); | 43 gpointer); |
44 | 44 |
45 struct _PurpleSslConnection | 45 struct _PurpleSslConnection |
46 { | 46 { |
47 /** Hostname to which the SSL connection will be made */ | |
47 char *host; | 48 char *host; |
49 /** Port to connect to */ | |
48 int port; | 50 int port; |
49 void *connect_cb_data; | 51 void *connect_cb_data; |
50 PurpleSslInputFunction connect_cb; | 52 PurpleSslInputFunction connect_cb; |
51 PurpleSslErrorFunction error_cb; | 53 PurpleSslErrorFunction error_cb; |
52 void *recv_cb_data; | 54 void *recv_cb_data; |
53 PurpleSslInputFunction recv_cb; | 55 PurpleSslInputFunction recv_cb; |
54 | 56 |
57 /** File descriptor used to refer to the socket */ | |
55 int fd; | 58 int fd; |
56 int inpa; | 59 int inpa; |
57 PurpleProxyConnectData *connect_data; | 60 PurpleProxyConnectData *connect_data; |
58 | 61 |
62 /** Internal connection data managed by the SSL backend (GnuTLS/LibNSS/whatever) */ | |
59 void *private_data; | 63 void *private_data; |
60 }; | 64 }; |
61 | 65 |
62 /** | 66 /** |
63 * SSL implementation operations structure. | 67 * SSL implementation operations structure. |