diff libpurple/protocols/yahoo/yahoo.h @ 25061:048a53891afd

Act as a YMSG server on port 5101 for IMs and Notifications
author Sulabh Mahajan <sulabh@soc.pidgin.im>
date Wed, 02 Jul 2008 06:58:57 +0000
parents d11d1ac96a0d
children 860d8ed4f7a6
line wrap: on
line diff
--- 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)