Mercurial > pidgin.yaz
annotate libpurple/protocols/qq/qq_define.h @ 28768:3f2a74bf3b9b
Restore ChangeLog entry from 466c48e63... that was lost in 1bcd0bb175....
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Fri, 16 Oct 2009 20:45:02 +0000 |
parents | 59ed7712be5e |
children | 4deef745de87 |
rev | line source |
---|---|
24064
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
1 /** |
24065
bdfcfd71449c
patch 20080922 from ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24064
diff
changeset
|
2 * @file qq_define.h |
24064
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
3 * |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
4 * purple |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
5 * |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
6 * Purple is the legal property of its developers, whose names are too numerous |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
7 * to list here. Please refer to the COPYRIGHT file distributed with this |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
8 * source distribution. |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
9 * |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
10 * This program is free software; you can redistribute it and/or modify |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
11 * it under the terms of the GNU General Public License as published by |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
12 * the Free Software Foundation; either version 2 of the License, or |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
13 * (at your option) any later version. |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
14 * |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
15 * This program is distributed in the hope that it will be useful, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
18 * GNU General Public License for more details. |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
19 * |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
20 * You should have received a copy of the GNU General Public License |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
21 * along with this program; if not, write to the Free Software |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
23 */ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
24 |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
25 #ifndef _QQ_HEADER_INFO_H_ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
26 #define _QQ_HEADER_INFO_H_ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
27 |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
28 #include <glib.h> |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
29 |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
30 #define QQ_UDP_HEADER_LENGTH 7 |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
31 #define QQ_TCP_HEADER_LENGTH 9 |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
32 |
24065
bdfcfd71449c
patch 20080922 from ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24064
diff
changeset
|
33 #define QQ_PACKET_TAG 0x02 /* all QQ text packets starts with it */ |
bdfcfd71449c
patch 20080922 from ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24064
diff
changeset
|
34 #define QQ_PACKET_TAIL 0x03 /* all QQ text packets end with it */ |
24064
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
35 |
24065
bdfcfd71449c
patch 20080922 from ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24064
diff
changeset
|
36 #define QQ_CLIENT_0D55 0x0d55 /* QQ2005 used by openq before */ |
bdfcfd71449c
patch 20080922 from ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24064
diff
changeset
|
37 #define QQ_CLIENT_111D 0x111D /* QQ2007 */ |
24066
dbc7a9742f8d
2008.09.26 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24065
diff
changeset
|
38 #define QQ_CLIENT_115B 0x115B /* QQ2008 He Sui*/ |
24064
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
39 |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
40 const gchar *qq_get_ver_desc(gint source); |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
41 |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
42 /* list of known QQ commands */ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
43 enum { |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
44 QQ_CMD_LOGOUT = 0x0001, /* log out */ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
45 QQ_CMD_KEEP_ALIVE = 0x0002, /* get onlines from tencent */ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
46 QQ_CMD_UPDATE_INFO = 0x0004, /* update information */ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
47 QQ_CMD_SEARCH_USER = 0x0005, /* search for user */ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
48 QQ_CMD_GET_BUDDY_INFO = 0x0006, /* get user information */ |
24094
7f5433ffbf8d
2008.10.22 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24093
diff
changeset
|
49 QQ_CMD_ADD_BUDDY_NO_AUTH = 0x0009, /* add buddy without auth */ |
7f5433ffbf8d
2008.10.22 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24093
diff
changeset
|
50 QQ_CMD_REMOVE_BUDDY = 0x000a, /* delete a buddy */ |
7f5433ffbf8d
2008.10.22 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24093
diff
changeset
|
51 QQ_CMD_ADD_BUDDY_AUTH = 0x000b, /* buddy authentication */ |
24064
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
52 QQ_CMD_CHANGE_STATUS = 0x000d, /* change my online status */ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
53 QQ_CMD_ACK_SYS_MSG = 0x0012, /* ack system message */ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
54 QQ_CMD_SEND_IM = 0x0016, /* send message */ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
55 QQ_CMD_RECV_IM = 0x0017, /* receive message */ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
56 QQ_CMD_REMOVE_ME = 0x001c, /* remove self */ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
57 QQ_CMD_REQUEST_KEY = 0x001d, /* request key for file transfer */ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
58 QQ_CMD_CELL_PHONE_1 = 0x0021, /* cell phone 1 */ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
59 QQ_CMD_LOGIN = 0x0022, /* login */ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
60 QQ_CMD_GET_BUDDIES_LIST = 0x0026, /* get buddies list */ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
61 QQ_CMD_GET_BUDDIES_ONLINE = 0x0027, /* get online buddies list */ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
62 QQ_CMD_CELL_PHONE_2 = 0x0029, /* cell phone 2 */ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
63 QQ_CMD_ROOM = 0x0030, /* room command */ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
64 QQ_CMD_GET_BUDDIES_AND_ROOMS = 0x0058, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
65 QQ_CMD_GET_LEVEL = 0x005C, /* get level for one or more buddies */ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
66 QQ_CMD_TOKEN = 0x0062, /* get login token */ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
67 QQ_CMD_RECV_MSG_SYS = 0x0080, /* receive a system message */ |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
68 QQ_CMD_BUDDY_CHANGE_STATUS = 0x0081, /* buddy change status */ |
25146
7f903e67a995
2009.02.09 - Chengming Wang <tiger2007532246(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24635
diff
changeset
|
69 QQ_CMD_BUDDY_MEMO = 0x003E, /* the message about buddy memo */ |
7f903e67a995
2009.02.09 - Chengming Wang <tiger2007532246(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24635
diff
changeset
|
70 |
7f903e67a995
2009.02.09 - Chengming Wang <tiger2007532246(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24635
diff
changeset
|
71 /* for QQ2007*/ |
24065
bdfcfd71449c
patch 20080922 from ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24064
diff
changeset
|
72 QQ_CMD_GET_SERVER = 0x0091, /* select login server */ |
bdfcfd71449c
patch 20080922 from ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24064
diff
changeset
|
73 QQ_CMD_TOKEN_EX = 0x00BA, /* get LOGIN token */ |
bdfcfd71449c
patch 20080922 from ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24064
diff
changeset
|
74 QQ_CMD_CHECK_PWD = 0x00DD, /* Password verify */ |
24095
2a19984c0005
2008.10.27 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24094
diff
changeset
|
75 QQ_CMD_AUTH_CODE = 0x00AE, /* the request verification of information */ |
24094
7f5433ffbf8d
2008.10.22 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24093
diff
changeset
|
76 QQ_CMD_ADD_BUDDY_NO_AUTH_EX = 0x00A7, /* add friend without auth */ |
7f5433ffbf8d
2008.10.22 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24093
diff
changeset
|
77 QQ_CMD_ADD_BUDDY_AUTH_EX = 0x00A8, /* add buddy with auth */ |
24093
f4f29fac96c6
2008.10.20 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24092
diff
changeset
|
78 QQ_CMD_BUDDY_CHECK_CODE = 0x00B5, |
24635
d8452c0bec7b
Remove the commas at the end of enumerator lists. This resolves warnings
Florian Quèze <florian@instantbird.org>
parents:
24594
diff
changeset
|
79 QQ_CMD_BUDDY_QUESTION = 0x00B7 |
24064
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
80 }; |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
81 |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
82 const gchar *qq_get_cmd_desc(gint type); |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
83 |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
84 enum { |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
85 QQ_ROOM_CMD_CREATE = 0x01, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
86 QQ_ROOM_CMD_MEMBER_OPT = 0x02, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
87 QQ_ROOM_CMD_CHANGE_INFO = 0x03, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
88 QQ_ROOM_CMD_GET_INFO = 0x04, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
89 QQ_ROOM_CMD_ACTIVATE = 0x05, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
90 QQ_ROOM_CMD_SEARCH = 0x06, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
91 QQ_ROOM_CMD_JOIN = 0x07, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
92 QQ_ROOM_CMD_AUTH = 0x08, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
93 QQ_ROOM_CMD_QUIT = 0x09, |
24594 | 94 QQ_ROOM_CMD_SEND_IM = 0x0a, |
24064
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
95 QQ_ROOM_CMD_GET_ONLINES = 0x0b, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
96 QQ_ROOM_CMD_GET_BUDDIES = 0x0c, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
97 |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
98 QQ_ROOM_CMD_CHANGE_CARD = 0x0E, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
99 QQ_ROOM_CMD_GET_REALNAMES = 0x0F, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
100 QQ_ROOM_CMD_GET_CARD = 0x10, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
101 QQ_ROOM_CMD_SEND_IM_EX = 0x1A, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
102 QQ_ROOM_CMD_ADMIN = 0x1B, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
103 QQ_ROOM_CMD_TRANSFER = 0x1C, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
104 QQ_ROOM_CMD_TEMP_CREATE = 0x30, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
105 QQ_ROOM_CMD_TEMP_CHANGE_MEMBER = 0x31, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
106 QQ_ROOM_CMD_TEMP_QUIT = 0x32, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
107 QQ_ROOM_CMD_TEMP_GET_INFO = 0x33, |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
108 QQ_ROOM_CMD_TEMP_SEND_IM = 0x35, |
24635
d8452c0bec7b
Remove the commas at the end of enumerator lists. This resolves warnings
Florian Quèze <florian@instantbird.org>
parents:
24594
diff
changeset
|
109 QQ_ROOM_CMD_TEMP_GET_MEMBERS = 0x37 |
24064
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
110 }; |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
111 |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
112 const gchar *qq_get_room_cmd_desc(gint room_cmd); |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
113 |
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
114 enum { |
24092
7c0a56c5fea0
2008.10.14 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24079
diff
changeset
|
115 QQ_SERVER_BUDDY_ADDED = 1, |
7c0a56c5fea0
2008.10.14 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24079
diff
changeset
|
116 QQ_SERVER_BUDDY_ADD_REQUEST = 2, |
7c0a56c5fea0
2008.10.14 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24079
diff
changeset
|
117 QQ_SERVER_BUDDY_ADDED_ME = 3, |
7c0a56c5fea0
2008.10.14 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24079
diff
changeset
|
118 QQ_SERVER_BUDDY_REJECTED_ME = 4, |
7c0a56c5fea0
2008.10.14 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24079
diff
changeset
|
119 QQ_SERVER_NOTICE= 6, |
7c0a56c5fea0
2008.10.14 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24079
diff
changeset
|
120 QQ_SERVER_NEW_CLIENT = 9, |
24093
f4f29fac96c6
2008.10.20 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24092
diff
changeset
|
121 QQ_SERVER_BUDDY_ADDING_EX = 40, |
f4f29fac96c6
2008.10.20 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24092
diff
changeset
|
122 QQ_SERVER_BUDDY_ADD_REQUEST_EX = 41, |
f4f29fac96c6
2008.10.20 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24092
diff
changeset
|
123 QQ_SERVER_BUDDY_ADDED_ANSWER = 42, |
24635
d8452c0bec7b
Remove the commas at the end of enumerator lists. This resolves warnings
Florian Quèze <florian@instantbird.org>
parents:
24594
diff
changeset
|
124 QQ_SERVER_BUDDY_ADDED_EX = 43 |
24064
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
125 }; |
24079
1bdf7b602684
2008.10.07 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24066
diff
changeset
|
126 |
1bdf7b602684
2008.10.07 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24066
diff
changeset
|
127 enum { |
1bdf7b602684
2008.10.07 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24066
diff
changeset
|
128 QQ_BUDDY_OFFLINE = 0x00, |
1bdf7b602684
2008.10.07 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24066
diff
changeset
|
129 QQ_BUDDY_ONLINE_NORMAL = 10, |
1bdf7b602684
2008.10.07 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24066
diff
changeset
|
130 QQ_BUDDY_CHANGE_TO_OFFLINE = 20, |
1bdf7b602684
2008.10.07 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24066
diff
changeset
|
131 QQ_BUDDY_ONLINE_AWAY = 30, |
1bdf7b602684
2008.10.07 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24066
diff
changeset
|
132 QQ_BUDDY_ONLINE_INVISIBLE = 40, |
24635
d8452c0bec7b
Remove the commas at the end of enumerator lists. This resolves warnings
Florian Quèze <florian@instantbird.org>
parents:
24594
diff
changeset
|
133 QQ_BUDDY_ONLINE_BUSY = 50 |
24079
1bdf7b602684
2008.10.07 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24066
diff
changeset
|
134 }; |
1bdf7b602684
2008.10.07 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24066
diff
changeset
|
135 |
25146
7f903e67a995
2009.02.09 - Chengming Wang <tiger2007532246(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24635
diff
changeset
|
136 |
24079
1bdf7b602684
2008.10.07 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24066
diff
changeset
|
137 gboolean is_online(guint8 status); |
1bdf7b602684
2008.10.07 - ccpaging <ccpaging(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
24066
diff
changeset
|
138 |
24064
a3cd7c3d9da1
2008.10.03 - Flos Loniceare<lonicerae(at)gmail.com>
SHiNE CsyFeK <csyfek@gmail.com>
parents:
diff
changeset
|
139 #endif |