comparison libgaim/protocols/qq/header_info.h @ 15139:e952a5fc97b3

[gaim-migrate @ 17924] Added support for QQ levels Allow 3rd party clients to specify the location of the buddy icon dir Minor code cleanup committer: Tailor Script <tailor@pidgin.im>
author Mark Huetsch <markhuetsch>
date Sat, 09 Dec 2006 06:34:48 +0000
parents c039c920e11c
children 7dd8192b1a5c
comparison
equal deleted inserted replaced
15138:2409a2508650 15139:e952a5fc97b3
31 #define QQ_TCP_HEADER_LENGTH 9 31 #define QQ_TCP_HEADER_LENGTH 9
32 32
33 #define QQ_PACKET_TAG 0x02 /* all QQ text packets starts with it */ 33 #define QQ_PACKET_TAG 0x02 /* all QQ text packets starts with it */
34 #define QQ_PACKET_TAIL 0x03 /* all QQ text packets end with it */ 34 #define QQ_PACKET_TAIL 0x03 /* all QQ text packets end with it */
35 35
36 /* #define QQ_CLIENT 0x0b37 */ /* QQ2003iii build 0304, Aprili 05 update */ 36 #define QQ_CLIENT 0x0E1B
37 37
38 /* list of known QQ commands */ 38 /* list of known QQ commands */
39 enum { 39 enum {
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 */
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_FRIENDS_LIST = 0x0026, /* retrieve my freinds list */
57 QQ_CMD_GET_FRIENDS_ONLINE = 0x0027, /* get my online friends list */ 57 QQ_CMD_GET_FRIENDS_ONLINE = 0x0027, /* get my online friends 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 = 0x58, 60 QQ_CMD_GET_ALL_LIST_WITH_GROUP = 0x0058,
61 QQ_CMD_REQUEST_LOGIN_TOKEN = 0x62, 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_RECV_MSG_SYS = 0x0080, /* receive a system message */ 63 QQ_CMD_RECV_MSG_SYS = 0x0080, /* receive a system message */
63 QQ_CMD_RECV_MSG_FRIEND_CHANGE_STATUS = 0x0081, /* friends change status */ 64 QQ_CMD_RECV_MSG_FRIEND_CHANGE_STATUS = 0x0081, /* friends change status */
64 }; 65 };
65 66
66 const gchar *qq_get_cmd_desc(gint type); 67 const gchar *qq_get_cmd_desc(gint type);