comparison src/protocols/oscar/info.c @ 5917:a747e9e0e2cf

[gaim-migrate @ 6349] 2 compile fixes, one from a Herman mistake and one from a Luke-is-using-a- different-version-of-gettext-that-doesn't-have-as-much-psycho-checking-of- translation "mistake." Also, I made it so "Send File" and "Direct IM" do not show up in the right click menu unless the person is advertising that capability. This probably should have been done a long time ago. Also, some not-yet-used code for setting available messages. I'm working on it. Oh, and I found a new capability in iChat. I don't know what it does yet. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 18 Jun 2003 02:18:26 +0000
parents 09f7f23dc83a
children 04dc7fe68889
comparison
equal deleted inserted replaced
5916:a51b709b2b3e 5917:a747e9e0e2cf
240 fu32_t flag; 240 fu32_t flag;
241 fu8_t data[16]; 241 fu8_t data[16];
242 } aim_caps[] = { 242 } aim_caps[] = {
243 243
244 /* 244 /*
245 * Chat is oddball. 245 * These are mostly in ascending numerical order.
246 */ 246 */
247 {AIM_CAPS_CHAT, 247 {AIM_CAPS_ICHAT,
248 {0x74, 0x8f, 0x24, 0x20, 0x62, 0x87, 0x11, 0xd1, 248 {0x09, 0x46, 0x00, 0x00, 0x4c, 0x7f, 0x11, 0xd1,
249 0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}}, 249 0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}},
250 250
251 /*
252 * These are mostly in order.
253 */
254 {AIM_CAPS_VOICE, 251 {AIM_CAPS_VOICE,
255 {0x09, 0x46, 0x13, 0x41, 0x4c, 0x7f, 0x11, 0xd1, 252 {0x09, 0x46, 0x13, 0x41, 0x4c, 0x7f, 0x11, 0xd1,
256 0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}}, 253 0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}},
257 254
258 {AIM_CAPS_SENDFILE, 255 {AIM_CAPS_SENDFILE,
326 {AIM_CAPS_ICQUNKNOWN, 323 {AIM_CAPS_ICQUNKNOWN,
327 {0x2e, 0x7a, 0x64, 0x75, 0xfa, 0xdf, 0x4d, 0xc8, 324 {0x2e, 0x7a, 0x64, 0x75, 0xfa, 0xdf, 0x4d, 0xc8,
328 0x88, 0x6f, 0xea, 0x35, 0x95, 0xfd, 0xb6, 0xdf}}, 325 0x88, 0x6f, 0xea, 0x35, 0x95, 0xfd, 0xb6, 0xdf}},
329 326
330 /* 327 /*
328 * Chat is oddball.
329 */
330 {AIM_CAPS_CHAT,
331 {0x74, 0x8f, 0x24, 0x20, 0x62, 0x87, 0x11, 0xd1,
332 0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}},
333
334 /*
331 {AIM_CAPS_ICQ2GO, 335 {AIM_CAPS_ICQ2GO,
332 {0x56, 0x3f, 0xc8, 0x09, 0x0b, 0x6f, 0x41, 0xbd, 336 {0x56, 0x3f, 0xc8, 0x09, 0x0b, 0x6f, 0x41, 0xbd,
333 0x9f, 0x79, 0x42, 0x26, 0x09, 0xdf, 0xa2, 0xf3}}, 337 0x9f, 0x79, 0x42, 0x26, 0x09, 0xdf, 0xa2, 0xf3}},
334 */ 338 */
335 339
341 {AIM_CAPS_TRILLUNKNOWN, 345 {AIM_CAPS_TRILLUNKNOWN,
342 {0x97, 0xb1, 0x27, 0x51, 0x24, 0x3c, 0x43, 0x34, 346 {0x97, 0xb1, 0x27, 0x51, 0x24, 0x3c, 0x43, 0x34,
343 0xad, 0x22, 0xd6, 0xab, 0xf7, 0x3f, 0x14, 0x09}}, */ 347 0xad, 0x22, 0xd6, 0xab, 0xf7, 0x3f, 0x14, 0x09}}, */
344 348
345 {AIM_CAPS_APINFO, 349 {AIM_CAPS_APINFO,
346 {0xaa, 0x4a, 0x32, 0xb5, 0xf8, 0x84, 0x48, 0xc6, 350 {0xaa, 0x4a, 0x32, 0xb5, 0xf8, 0x84, 0x48, 0xc6,
347 0xa3, 0xd7, 0x8c, 0x50, 0x97, 0x19, 0xfd, 0x5b}}, 351 0xa3, 0xd7, 0x8c, 0x50, 0x97, 0x19, 0xfd, 0x5b}},
348 352
349 {AIM_CAPS_TRILLIANCRYPT, 353 {AIM_CAPS_TRILLIANCRYPT,
350 {0xf2, 0xe7, 0xc7, 0xf4, 0xfe, 0xad, 0x4d, 0xfb, 354 {0xf2, 0xe7, 0xc7, 0xf4, 0xfe, 0xad, 0x4d, 0xfb,
351 0xb2, 0x35, 0x36, 0x79, 0x8b, 0xdf, 0x00, 0x00}}, 355 0xb2, 0x35, 0x36, 0x79, 0x8b, 0xdf, 0x00, 0x00}},
636 * 640 *
637 */ 641 */
638 outinfo->sessionlen = aimbs_get32(bs); 642 outinfo->sessionlen = aimbs_get32(bs);
639 outinfo->present |= AIM_USERINFO_PRESENT_SESSIONLEN; 643 outinfo->present |= AIM_USERINFO_PRESENT_SESSIONLEN;
640 644
645 } else if (type == 0x0019) {
646 faimdprintf(sess, 0, "userinfo: **warning: unexpected TLV type 0x0019: from %s\n", outinfo->sn);
647
641 } else if (type == 0x001d) { 648 } else if (type == 0x001d) {
642 /* 649 /*
643 * Type = 0x001d 650 * Type = 0x001d
644 * 651 *
645 * Buddy icon information and available messages. 652 * Buddy icon information and available messages.