libpurple/protocols/yahoo/yahoo.h

branch
soc.2008.yahoo
changeset 23693
100d744dc99b
parent 23692
e69cab028314
child 23694
95222c637ab6
--- a/libpurple/protocols/yahoo/yahoo.h	Sat Jul 12 19:13:31 2008 +0000
+++ b/libpurple/protocols/yahoo/yahoo.h	Sat Jul 12 19:24:34 2008 +0000
@@ -89,6 +89,11 @@
 	YAHOO_PKT_TYPE_P2P
 } yahoo_pkt_type;
 
+typedef enum {
+	YAHOO_P2P_WE_ARE_CLIENT =0,
+	YAHOO_P2P_WE_ARE_SERVER
+} yahoo_p2p_connection_type;
+
 enum yahoo_status {
 	YAHOO_STATUS_AVAILABLE = 0,
 	YAHOO_STATUS_BRB,
@@ -126,7 +131,7 @@
 	guint input_event;
 	gint source;
 	int session_id;
-	gboolean connection_type;	/* 0: peer is server, 1: we are server*/
+	yahoo_p2p_connection_type connection_type;
 };
 
 struct _YchtConn;

mercurial