comparison libgaim/protocols/yahoo/yahoo_packet.h @ 14258:cb2714fdf274

[gaim-migrate @ 16940] up the protocol version, handle the new buddy list message (which i renamed the service for again), pretend auth type 2 is auth type 1, note when a buddy is an msn buddy, and possibly even send msn buddy messages correctly. I haven't really tested if everything works with the new protocol version, but I can always lower it again if bad things start happening and I don't have time to fix them before the release. I don't know if sending messages to msn users really works or not, it seems to be down server side at the moment. Someone test when msn gets it working again :P There's no way to add msn contacts to your yahoo account from within gaim. Not sure how we'll do the UI for that. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Mon, 21 Aug 2006 04:12:07 +0000
parents 26ae644bb66b
children 1bee09450652
comparison
equal deleted inserted replaced
14257:14933d9055a0 14258:cb2714fdf274
96 YAHOO_SERVICE_Y6_STATUS_UPDATE = 0xc6, 96 YAHOO_SERVICE_Y6_STATUS_UPDATE = 0xc6,
97 YAHOO_SERVICE_AVATAR_UPDATE = 0xc7, 97 YAHOO_SERVICE_AVATAR_UPDATE = 0xc7,
98 YAHOO_SERVICE_VERIFY_ID_EXISTS = 0xc8, 98 YAHOO_SERVICE_VERIFY_ID_EXISTS = 0xc8,
99 YAHOO_SERVICE_AUDIBLE = 0xd0, 99 YAHOO_SERVICE_AUDIBLE = 0xd0,
100 YAHOO_SERVICE_STATUS_15 = 0xf0, 100 YAHOO_SERVICE_STATUS_15 = 0xf0,
101 YAHOO_SERVICE_BUDDYLIST_15 = 0Xf1, 101 YAHOO_SERVICE_LIST_15 = 0Xf1,
102 YAHOO_SERVICE_WEBLOGIN = 0x0226, 102 YAHOO_SERVICE_WEBLOGIN = 0x0226,
103 YAHOO_SERVICE_SMS_MSG = 0x02ea 103 YAHOO_SERVICE_SMS_MSG = 0x02ea
104 }; 104 };
105 105
106 struct yahoo_pair { 106 struct yahoo_pair {
114 guint32 id; 114 guint32 id;
115 GSList *hash; 115 GSList *hash;
116 }; 116 };
117 117
118 #define YAHOO_WEBMESSENGER_PROTO_VER 0x0065 118 #define YAHOO_WEBMESSENGER_PROTO_VER 0x0065
119 #define YAHOO_PROTO_VER 0x000c 119 #define YAHOO_PROTO_VER 0x000f
120 120
121 #define YAHOO_PACKET_HDRLEN (4 + 2 + 2 + 2 + 2 + 4 + 4) 121 #define YAHOO_PACKET_HDRLEN (4 + 2 + 2 + 2 + 2 + 4 + 4)
122 122
123 struct yahoo_packet *yahoo_packet_new(enum yahoo_service service, 123 struct yahoo_packet *yahoo_packet_new(enum yahoo_service service,
124 enum yahoo_status status, int id); 124 enum yahoo_status status, int id);