Mercurial > pidgin.yaz
comparison libpurple/protocols/qq/buddy_list.h @ 24079:1bdf7b602684
2008.10.07 - ccpaging <ccpaging(at)gmail.com>
* Update qun conversation
* Drop group_conv.c and group_conv.h
author | SHiNE CsyFeK <csyfek@gmail.com> |
---|---|
date | Wed, 22 Oct 2008 14:58:32 +0000 |
parents | 619ac2303c46 |
children | 818ab62006f5 |
comparison
equal
deleted
inserted
replaced
24078:0a92aa673a33 | 24079:1bdf7b602684 |
---|---|
38 guint8 status; | 38 guint8 status; |
39 guint16 unknown3; | 39 guint16 unknown3; |
40 guint8 unknown_key[QQ_KEY_LENGTH]; | 40 guint8 unknown_key[QQ_KEY_LENGTH]; |
41 } qq_buddy_status; | 41 } qq_buddy_status; |
42 | 42 |
43 enum { | 43 void qq_request_get_buddies_online(PurpleConnection *gc, guint8 position, gint update_class); |
44 QQ_BUDDY_OFFLINE = 0x00, | 44 guint8 qq_process_get_buddies_online(guint8 *data, gint data_len, PurpleConnection *gc); |
45 QQ_BUDDY_ONLINE_NORMAL = 10, | |
46 QQ_BUDDY_CHANGE_TO_OFFLINE = 20, | |
47 QQ_BUDDY_ONLINE_AWAY = 30, | |
48 QQ_BUDDY_ONLINE_INVISIBLE = 40, | |
49 QQ_BUDDY_ONLINE_BUSY = 50, | |
50 }; | |
51 | 45 |
52 void qq_request_get_buddies_online(PurpleConnection *gc, guint8 position, gint update_class); | 46 void qq_request_get_buddies(PurpleConnection *gc, guint16 position, gint update_class); |
53 guint8 qq_process_get_buddies_online_reply(guint8 *data, gint data_len, PurpleConnection *gc); | 47 guint16 qq_process_get_buddies(guint8 *data, gint data_len, PurpleConnection *gc); |
54 | |
55 void qq_request_get_buddies_list(PurpleConnection *gc, guint16 position, gint update_class); | |
56 guint16 qq_process_get_buddies_list_reply(guint8 *data, gint data_len, PurpleConnection *gc); | |
57 | 48 |
58 void qq_request_get_buddies_and_rooms(PurpleConnection *gc, guint32 position, gint update_class); | 49 void qq_request_get_buddies_and_rooms(PurpleConnection *gc, guint32 position, gint update_class); |
59 guint32 qq_process_get_buddies_and_rooms(guint8 *data, gint data_len, PurpleConnection *gc); | 50 guint32 qq_process_get_buddies_and_rooms(guint8 *data, gint data_len, PurpleConnection *gc); |
60 | 51 |
61 void qq_refresh_all_buddy_status(PurpleConnection *gc); | |
62 | |
63 gboolean is_online(guint8 status); | |
64 | |
65 gint get_icon_offset(PurpleConnection *gc); | 52 gint get_icon_offset(PurpleConnection *gc); |
66 | 53 |
67 void qq_request_change_status(PurpleConnection *gc, gint update_class); | 54 void qq_request_change_status(PurpleConnection *gc, gint update_class); |
68 void qq_process_change_status_reply(guint8 *data, gint data_len, PurpleConnection *gc); | 55 void qq_process_change_status(guint8 *data, gint data_len, PurpleConnection *gc); |
69 void qq_process_buddy_change_status(guint8 *data, gint data_len, PurpleConnection *gc); | 56 void qq_process_buddy_change_status(guint8 *data, gint data_len, PurpleConnection *gc); |
70 | 57 |
71 void qq_refresh_all_buddy_status(PurpleConnection *gc); | 58 void qq_update_buddyies_status(PurpleConnection *gc); |
59 void qq_update_buddy_status(PurpleConnection *gc, guint32 uid, guint8 status, guint8 flag); | |
72 void qq_update_buddy_contact(PurpleConnection *gc, qq_buddy *q_bud); | 60 void qq_update_buddy_contact(PurpleConnection *gc, qq_buddy *q_bud); |
61 void qq_buddy_data_free_all(PurpleConnection *gc); | |
73 #endif | 62 #endif |