libpurple/protocols/yahoo/yahoo.h

branch
soc.2008.yahoo
changeset 23683
0334c0f73fe9
parent 23678
c9b6da599950
child 23685
f1c08a713551
--- a/libpurple/protocols/yahoo/yahoo.h	Fri Jun 27 16:02:30 2008 +0000
+++ b/libpurple/protocols/yahoo/yahoo.h	Wed Jul 02 06:58:57 2008 +0000
@@ -117,12 +117,12 @@
 struct yahoo_p2p_data	{
 	PurpleConnection *gc;
 	char *host_ip;
-	int session_id;
 	char *host_username;
 	int val_13;
 	guint input_event;
 	gint source;
 	int val_11;
+	gboolean connection_type;	/* 0: peer is server, 1: we are server*/
 };
 
 struct _YchtConn;
@@ -189,6 +189,8 @@
 	 */
 	char *current_list15_grp;
 	GHashTable *peers;	/*information about p2p data*/
+	int yahoo_local_p2p_server_fd;
+	int yahoo_p2p_server_watcher;
 };
 
 #define YAHOO_MAX_STATUS_MESSAGE_LENGTH (255)

mercurial