changeset 17288: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
files libpurple/sslconn.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/sslconn.h	Thu May 24 04:43:39 2007 +0000
+++ b/libpurple/sslconn.h	Thu May 24 04:56:45 2007 +0000
@@ -44,7 +44,9 @@
 
 struct _PurpleSslConnection
 {
+	/** Hostname to which the SSL connection will be made */
 	char *host;
+	/** Port to connect to */
 	int port;
 	void *connect_cb_data;
 	PurpleSslInputFunction connect_cb;
@@ -52,10 +54,12 @@
 	void *recv_cb_data;
 	PurpleSslInputFunction recv_cb;
 
+	/** File descriptor used to refer to the socket */
 	int fd;
 	int inpa;
 	PurpleProxyConnectData *connect_data;
 
+	/** Internal connection data managed by the SSL backend (GnuTLS/LibNSS/whatever) */
 	void *private_data;
 };