| 40 QQ_CMD_LOGOUT = 0x0001, /* log out */ |
40 QQ_CMD_LOGOUT = 0x0001, /* log out */ |
| 41 QQ_CMD_KEEP_ALIVE = 0x0002, /* get onlines from tencent */ |
41 QQ_CMD_KEEP_ALIVE = 0x0002, /* get onlines from tencent */ |
| 42 QQ_CMD_UPDATE_INFO = 0x0004, /* update information */ |
42 QQ_CMD_UPDATE_INFO = 0x0004, /* update information */ |
| 43 QQ_CMD_SEARCH_USER = 0x0005, /* search for user */ |
43 QQ_CMD_SEARCH_USER = 0x0005, /* search for user */ |
| 44 QQ_CMD_GET_USER_INFO = 0x0006, /* get user information */ |
44 QQ_CMD_GET_USER_INFO = 0x0006, /* get user information */ |
| 45 QQ_CMD_ADD_FRIEND_WO_AUTH = 0x0009, /* add friend without auth */ |
45 QQ_CMD_ADD_BUDDY_WO_AUTH = 0x0009, /* add buddy without auth */ |
| 46 QQ_CMD_DEL_FRIEND = 0x000a, /* delete a friend */ |
46 QQ_CMD_DEL_BUDDY = 0x000a, /* delete a buddy */ |
| 47 QQ_CMD_BUDDY_AUTH = 0x000b, /* buddy authentication */ |
47 QQ_CMD_BUDDY_AUTH = 0x000b, /* buddy authentication */ |
| 48 QQ_CMD_CHANGE_ONLINE_STATUS = 0x000d, /* change my online status */ |
48 QQ_CMD_CHANGE_ONLINE_STATUS = 0x000d, /* change my online status */ |
| 49 QQ_CMD_ACK_SYS_MSG = 0x0012, /* ack system message */ |
49 QQ_CMD_ACK_SYS_MSG = 0x0012, /* ack system message */ |
| 50 QQ_CMD_SEND_IM = 0x0016, /* send message */ |
50 QQ_CMD_SEND_IM = 0x0016, /* send message */ |
| 51 QQ_CMD_RECV_IM = 0x0017, /* receive message */ |
51 QQ_CMD_RECV_IM = 0x0017, /* receive message */ |
| 52 QQ_CMD_REMOVE_SELF = 0x001c, /* remove self */ |
52 QQ_CMD_REMOVE_SELF = 0x001c, /* remove self */ |
| 53 QQ_CMD_REQUEST_KEY = 0x001d, /* request key for file transfer */ |
53 QQ_CMD_REQUEST_KEY = 0x001d, /* request key for file transfer */ |
| 54 QQ_CMD_CELL_PHONE_1 = 0x0021, /* cell phone 1 */ |
54 QQ_CMD_CELL_PHONE_1 = 0x0021, /* cell phone 1 */ |
| 55 QQ_CMD_LOGIN = 0x0022, /* login */ |
55 QQ_CMD_LOGIN = 0x0022, /* login */ |
| 56 QQ_CMD_GET_FRIENDS_LIST = 0x0026, /* retrieve my freinds list */ |
56 QQ_CMD_GET_BUDDIES_LIST = 0x0026, /* get buddies list */ |
| 57 QQ_CMD_GET_FRIENDS_ONLINE = 0x0027, /* get my online friends list */ |
57 QQ_CMD_GET_BUDDIES_ONLINE = 0x0027, /* get online buddies list */ |
| 58 QQ_CMD_CELL_PHONE_2 = 0x0029, /* cell phone 2 */ |
58 QQ_CMD_CELL_PHONE_2 = 0x0029, /* cell phone 2 */ |
| 59 QQ_CMD_GROUP_CMD = 0x0030, /* group command */ |
59 QQ_CMD_GROUP_CMD = 0x0030, /* group command */ |
| 60 QQ_CMD_GET_ALL_LIST_WITH_GROUP = 0x0058, |
60 QQ_CMD_GET_ALL_LIST_WITH_GROUP = 0x0058, |
| 61 QQ_CMD_GET_LEVEL = 0x005C, /* get level for one or more buddies */ |
61 QQ_CMD_GET_LEVEL = 0x005C, /* get level for one or more buddies */ |
| 62 QQ_CMD_REQUEST_LOGIN_TOKEN = 0x0062, /* get login token */ |
62 QQ_CMD_TOKEN = 0x0062, /* get login token */ |
| 63 QQ_CMD_RECV_MSG_SYS = 0x0080, /* receive a system message */ |
63 QQ_CMD_RECV_MSG_SYS = 0x0080, /* receive a system message */ |
| 64 QQ_CMD_RECV_MSG_FRIEND_CHANGE_STATUS = 0x0081, /* friends change status */ |
64 QQ_CMD_RECV_MSG_BUDDY_CHANGE_STATUS = 0x0081, /* buddy change status */ |
| 65 }; |
65 }; |
| 66 |
66 |
| 67 const gchar *qq_get_cmd_desc(gint type); |
67 const gchar *qq_get_cmd_desc(gint type); |
| 68 |
68 |
| 69 const gchar *qq_get_source_str(gint source); |
69 const gchar *qq_get_ver_desc(gint source); |
| 70 |
70 |
| 71 #endif |
71 #endif |