Mercurial > pidgin.yaz
comparison src/protocols/oscar/service.c @ 7282:ad243bc63184
[gaim-migrate @ 7861]
Mostly this is my usual blah clean-up/changes.
I started merging that icq sms patch, but I'm not comfortable
with much of it...
I also made AIM have 6 login steps instead of 2. The first
few go pretty quickly though. I'll probably work on this
more later, but I'm going to sleep now.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 16 Oct 2003 06:12:43 +0000 |
parents | 6d3d8f11e765 |
children | 2bdacd38528c |
comparison
equal
deleted
inserted
replaced
7281:0f7dd6715a90 | 7282:ad243bc63184 |
---|---|
149 } | 149 } |
150 | 150 |
151 /* Subtype 0x0006 - Request Rate Information. */ | 151 /* Subtype 0x0006 - Request Rate Information. */ |
152 faim_internal int aim_reqrates(aim_session_t *sess, aim_conn_t *conn) | 152 faim_internal int aim_reqrates(aim_session_t *sess, aim_conn_t *conn) |
153 { | 153 { |
154 return aim_genericreq_n(sess, conn, 0x0001, 0x0006); | 154 return aim_genericreq_n_snacid(sess, conn, 0x0001, 0x0006); |
155 } | 155 } |
156 | 156 |
157 /* | 157 /* |
158 * OSCAR defines several 'rate classes'. Each class has seperate | 158 * OSCAR defines several 'rate classes'. Each class has seperate |
159 * rate limiting properties (limit level, alert level, disconnect | 159 * rate limiting properties (limit level, alert level, disconnect |
489 } | 489 } |
490 | 490 |
491 /* Subtype 0x000e - Request self-info */ | 491 /* Subtype 0x000e - Request self-info */ |
492 faim_export int aim_reqpersonalinfo(aim_session_t *sess, aim_conn_t *conn) | 492 faim_export int aim_reqpersonalinfo(aim_session_t *sess, aim_conn_t *conn) |
493 { | 493 { |
494 return aim_genericreq_n(sess, conn, 0x0001, 0x000e); | 494 return aim_genericreq_n_snacid(sess, conn, 0x0001, 0x000e); |
495 } | 495 } |
496 | 496 |
497 /* Subtype 0x000f - Self User Info */ | 497 /* Subtype 0x000f - Self User Info */ |
498 static int selfinfo(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, aim_modsnac_t *snac, aim_bstream_t *bs) | 498 static int selfinfo(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, aim_modsnac_t *snac, aim_bstream_t *bs) |
499 { | 499 { |
658 * Subtype 0x0016 - No-op | 658 * Subtype 0x0016 - No-op |
659 * | 659 * |
660 * WinAIM sends these every 4min or so to keep the connection alive. Its not | 660 * WinAIM sends these every 4min or so to keep the connection alive. Its not |
661 * really necessary. | 661 * really necessary. |
662 * | 662 * |
663 * Wha? No? Since when? I think WinAIM sends an empty channel 3 | |
664 * SNAC as a no-op... | |
663 */ | 665 */ |
664 faim_export int aim_nop(aim_session_t *sess, aim_conn_t *conn) | 666 faim_export int aim_nop(aim_session_t *sess, aim_conn_t *conn) |
665 { | 667 { |
666 return aim_genericreq_n(sess, conn, 0x0001, 0x0016); | 668 return aim_genericreq_n(sess, conn, 0x0001, 0x0016); |
667 } | 669 } |