comparison libpurple/protocols/qq/buddy_list.c @ 24065:bdfcfd71449c

patch 20080922 from ccpaging <ccpaging(at)gmail.com>
author SHiNE CsyFeK <csyfek@gmail.com>
date Wed, 22 Oct 2008 14:33:20 +0000
parents d57928c9dd8f
children dbc7a9742f8d
comparison
equal deleted inserted replaced
24064:a3cd7c3d9da1 24065:bdfcfd71449c
32 #include "packet_parse.h" 32 #include "packet_parse.h"
33 #include "buddy_info.h" 33 #include "buddy_info.h"
34 #include "buddy_list.h" 34 #include "buddy_list.h"
35 #include "buddy_opt.h" 35 #include "buddy_opt.h"
36 #include "char_conv.h" 36 #include "char_conv.h"
37 #include "header_info.h" 37 #include "qq_define.h"
38 #include "qq_base.h" 38 #include "qq_base.h"
39 #include "group.h" 39 #include "group.h"
40 #include "group_find.h" 40 #include "group_find.h"
41 #include "group_internal.h" 41 #include "group_internal.h"
42 #include "group_info.h" 42 #include "group_info.h"
76 bytes += qq_put8(raw_data + bytes, 0x00); 76 bytes += qq_put8(raw_data + bytes, 0x00);
77 /* 003-004 */ 77 /* 003-004 */
78 bytes += qq_put16(raw_data + bytes, 0x0000); 78 bytes += qq_put16(raw_data + bytes, 0x0000);
79 79
80 qq_send_cmd_mess(gc, QQ_CMD_GET_BUDDIES_ONLINE, raw_data, 5, update_class, 0); 80 qq_send_cmd_mess(gc, QQ_CMD_GET_BUDDIES_ONLINE, raw_data, 5, update_class, 0);
81 qd->last_get_online = time(NULL);
82 } 81 }
83 82
84 /* position starts with 0x0000, 83 /* position starts with 0x0000,
85 * server may return a position tag if list is too long for one packet */ 84 * server may return a position tag if list is too long for one packet */
86 void qq_request_get_buddies_list(PurpleConnection *gc, guint16 position, gint update_class) 85 void qq_request_get_buddies_list(PurpleConnection *gc, guint16 position, gint update_class)