libpurple/protocols/qq/group_info.c

branch
openq
changeset 31393
04447b1f6403
parent 29965
d4d794093d2d
equal deleted inserted replaced
31392:93902a4213b6 31393:04447b1f6403
63 list = list->next; 63 list = list->next;
64 } 64 }
65 } 65 }
66 66
67 /* send packet to get info for each group member */ 67 /* send packet to get info for each group member */
68 gint qq_request_room_get_buddies(PurpleConnection *gc, guint32 room_id, guint32 update_class) 68 gint qq_request_room_get_buddies(PurpleConnection *gc, guint32 room_id, UPDCLS update_class)
69 { 69 {
70 guint8 *raw_data; 70 guint8 *raw_data;
71 gint bytes, num; 71 gint bytes, num;
72 GList *list; 72 GList *list;
73 qq_room_data *rmd; 73 qq_room_data *rmd;
175 qq_buddy_data *bd; 175 qq_buddy_data *bd;
176 PurpleChat *chat; 176 PurpleChat *chat;
177 PurpleConversation *conv; 177 PurpleConversation *conv;
178 guint8 organization, role; 178 guint8 organization, role;
179 guint16 unknown, max_members; 179 guint16 unknown, max_members;
180 guint32 member_uid, id, ext_id; 180 UID member_uid;
181 guint32 id, ext_id;
181 guint32 unknown4; 182 guint32 unknown4;
182 guint8 unknown1; 183 guint8 unknown1;
183 gint bytes, num; 184 gint bytes, num;
184 gchar *notice; 185 gchar *notice;
185 gchar *topic_utf8; 186 gchar *topic_utf8;
284 g_free(topic_utf8); 285 g_free(topic_utf8);
285 } 286 }
286 287
287 void qq_process_room_cmd_get_onlines(guint8 *data, gint len, PurpleConnection *gc) 288 void qq_process_room_cmd_get_onlines(guint8 *data, gint len, PurpleConnection *gc)
288 { 289 {
289 guint32 room_id, member_uid; 290 guint32 room_id;
291 UID member_uid;
290 guint8 unknown; 292 guint8 unknown;
291 gint bytes, num; 293 gint bytes, num;
292 qq_room_data *rmd; 294 qq_room_data *rmd;
293 qq_buddy_data *bd; 295 qq_buddy_data *bd;
294 296
332 /* process the reply to get_members_info packet */ 334 /* process the reply to get_members_info packet */
333 void qq_process_room_cmd_get_buddies(guint8 *data, gint len, PurpleConnection *gc) 335 void qq_process_room_cmd_get_buddies(guint8 *data, gint len, PurpleConnection *gc)
334 { 336 {
335 gint bytes; 337 gint bytes;
336 gint num; 338 gint num;
337 guint32 id, member_uid; 339 guint32 id;
340 UID member_uid;
338 guint16 unknown; 341 guint16 unknown;
339 qq_room_data *rmd; 342 qq_room_data *rmd;
340 qq_buddy_data *bd; 343 qq_buddy_data *bd;
341 gchar *nick; 344 gchar *nick;
342 345

mercurial