diff libpurple/protocols/yahoo/yahoo.h @ 25070:c3c5e79b4ecc

changed PKT_YAHOOSERVER and PKT_P2P, into enum yahoo_pkt_type
author Sulabh Mahajan <sulabh@soc.pidgin.im>
date Sat, 12 Jul 2008 19:13:31 +0000
parents 860d8ed4f7a6
children 38d188685f2f
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.h	Sat Jul 12 18:55:29 2008 +0000
+++ b/libpurple/protocols/yahoo/yahoo.h	Sat Jul 12 19:13:31 2008 +0000
@@ -81,13 +81,14 @@
 #define YAHOOJP_CLIENT_VERSION_ID "524223"
 #define YAHOOJP_CLIENT_VERSION "7,0,1,1"
 
-/*Packet sources: yahoo server and p2p*/
-#define PKT_YAHOOSERVER 0
-#define PKT_P2P 1
-
 /* Index into attention types list. */
 #define YAHOO_BUZZ 0
 
+typedef enum {
+	YAHOO_PKT_TYPE_SERVER = 0,
+	YAHOO_PKT_TYPE_P2P
+} yahoo_pkt_type;
+
 enum yahoo_status {
 	YAHOO_STATUS_AVAILABLE = 0,
 	YAHOO_STATUS_BRB,