Mercurial > pidgin
comparison libpurple/protocols/yahoo/yahoo.h @ 25063:860d8ed4f7a6
Check for session id (value for key 11) in the received IMs and Notifications against our session id. Disconnect in
case of a mismatch.
author | Sulabh Mahajan <sulabh@soc.pidgin.im> |
---|---|
date | Wed, 02 Jul 2008 11:16:35 +0000 |
parents | 048a53891afd |
children | c3c5e79b4ecc |
comparison
equal
deleted
inserted
replaced
25062:6da23dc3000d | 25063:860d8ed4f7a6 |
---|---|
79 #define YAHOO_CLIENT_VERSION "8.1.0.421" | 79 #define YAHOO_CLIENT_VERSION "8.1.0.421" |
80 | 80 |
81 #define YAHOOJP_CLIENT_VERSION_ID "524223" | 81 #define YAHOOJP_CLIENT_VERSION_ID "524223" |
82 #define YAHOOJP_CLIENT_VERSION "7,0,1,1" | 82 #define YAHOOJP_CLIENT_VERSION "7,0,1,1" |
83 | 83 |
84 /*Packet sources: yahoo server and p2p*/ | |
85 #define PKT_YAHOOSERVER 0 | |
86 #define PKT_P2P 1 | |
84 | 87 |
85 /* Index into attention types list. */ | 88 /* Index into attention types list. */ |
86 #define YAHOO_BUZZ 0 | 89 #define YAHOO_BUZZ 0 |
87 | 90 |
88 enum yahoo_status { | 91 enum yahoo_status { |
119 char *host_ip; | 122 char *host_ip; |
120 char *host_username; | 123 char *host_username; |
121 int val_13; | 124 int val_13; |
122 guint input_event; | 125 guint input_event; |
123 gint source; | 126 gint source; |
124 int val_11; | 127 int session_id; |
125 gboolean connection_type; /* 0: peer is server, 1: we are server*/ | 128 gboolean connection_type; /* 0: peer is server, 1: we are server*/ |
126 }; | 129 }; |
127 | 130 |
128 struct _YchtConn; | 131 struct _YchtConn; |
129 | 132 |