Mercurial > pidgin
annotate src/protocols/oscar/aim_cbtypes.h @ 3790:12b29552f1d7
[gaim-migrate @ 3930]
Better than cheddar, it's i18n input...
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Wed, 23 Oct 2002 00:12:49 +0000 |
parents | 765769211688 |
children | 07283934dedd |
rev | line source |
---|---|
2086 | 1 /* |
2 * AIM Callback Types | |
3 * | |
4 */ | |
5 #ifndef __AIM_CBTYPES_H__ | |
6 #define __AIM_CBTYPES_H__ | |
7 | |
8 /* | |
9 * SNAC Families. | |
10 */ | |
11 #define AIM_CB_FAM_ACK 0x0000 | |
12 #define AIM_CB_FAM_GEN 0x0001 | |
13 #define AIM_CB_FAM_LOC 0x0002 | |
14 #define AIM_CB_FAM_BUD 0x0003 | |
15 #define AIM_CB_FAM_MSG 0x0004 | |
16 #define AIM_CB_FAM_ADS 0x0005 | |
17 #define AIM_CB_FAM_INV 0x0006 | |
18 #define AIM_CB_FAM_ADM 0x0007 | |
19 #define AIM_CB_FAM_POP 0x0008 | |
20 #define AIM_CB_FAM_BOS 0x0009 | |
21 #define AIM_CB_FAM_LOK 0x000a | |
22 #define AIM_CB_FAM_STS 0x000b | |
23 #define AIM_CB_FAM_TRN 0x000c | |
24 #define AIM_CB_FAM_CTN 0x000d /* ChatNav */ | |
25 #define AIM_CB_FAM_CHT 0x000e /* Chat */ | |
2991 | 26 #define AIM_CB_FAM_SSI 0x0013 /* Server stored information */ |
2706
e841b14b5b89
[gaim-migrate @ 2719]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2675
diff
changeset
|
27 #define AIM_CB_FAM_ICQ 0x0015 |
2086 | 28 #define AIM_CB_FAM_ATH 0x0017 |
3694 | 29 #define AIM_CB_FAM_EML 0x0018 |
2086 | 30 #define AIM_CB_FAM_OFT 0xfffe /* OFT/Rvous */ |
31 #define AIM_CB_FAM_SPECIAL 0xffff /* Internal libfaim use */ | |
32 | |
33 /* | |
34 * SNAC Family: Ack. | |
35 * | |
36 * Not really a family, but treating it as one really | |
37 * helps it fit into the libfaim callback structure better. | |
38 * | |
39 */ | |
40 #define AIM_CB_ACK_ACK 0x0001 | |
41 | |
42 /* | |
43 * SNAC Family: General. | |
44 */ | |
45 #define AIM_CB_GEN_ERROR 0x0001 | |
46 #define AIM_CB_GEN_CLIENTREADY 0x0002 | |
47 #define AIM_CB_GEN_SERVERREADY 0x0003 | |
48 #define AIM_CB_GEN_SERVICEREQ 0x0004 | |
49 #define AIM_CB_GEN_REDIRECT 0x0005 | |
50 #define AIM_CB_GEN_RATEINFOREQ 0x0006 | |
51 #define AIM_CB_GEN_RATEINFO 0x0007 | |
52 #define AIM_CB_GEN_RATEINFOACK 0x0008 | |
53 #define AIM_CB_GEN_RATECHANGE 0x000a | |
54 #define AIM_CB_GEN_SERVERPAUSE 0x000b | |
55 #define AIM_CB_GEN_SERVERRESUME 0x000d | |
56 #define AIM_CB_GEN_REQSELFINFO 0x000e | |
57 #define AIM_CB_GEN_SELFINFO 0x000f | |
58 #define AIM_CB_GEN_EVIL 0x0010 | |
59 #define AIM_CB_GEN_SETIDLE 0x0011 | |
60 #define AIM_CB_GEN_MIGRATIONREQ 0x0012 | |
61 #define AIM_CB_GEN_MOTD 0x0013 | |
62 #define AIM_CB_GEN_SETPRIVFLAGS 0x0014 | |
63 #define AIM_CB_GEN_WELLKNOWNURL 0x0015 | |
64 #define AIM_CB_GEN_NOP 0x0016 | |
65 #define AIM_CB_GEN_DEFAULT 0xffff | |
66 | |
67 /* | |
68 * SNAC Family: Location Services. | |
69 */ | |
70 #define AIM_CB_LOC_ERROR 0x0001 | |
71 #define AIM_CB_LOC_REQRIGHTS 0x0002 | |
72 #define AIM_CB_LOC_RIGHTSINFO 0x0003 | |
73 #define AIM_CB_LOC_SETUSERINFO 0x0004 | |
74 #define AIM_CB_LOC_REQUSERINFO 0x0005 | |
75 #define AIM_CB_LOC_USERINFO 0x0006 | |
76 #define AIM_CB_LOC_WATCHERSUBREQ 0x0007 | |
77 #define AIM_CB_LOC_WATCHERNOT 0x0008 | |
78 #define AIM_CB_LOC_DEFAULT 0xffff | |
79 | |
80 /* | |
81 * SNAC Family: Buddy List Management Services. | |
82 */ | |
83 #define AIM_CB_BUD_ERROR 0x0001 | |
84 #define AIM_CB_BUD_REQRIGHTS 0x0002 | |
85 #define AIM_CB_BUD_RIGHTSINFO 0x0003 | |
86 #define AIM_CB_BUD_ADDBUDDY 0x0004 | |
87 #define AIM_CB_BUD_REMBUDDY 0x0005 | |
88 #define AIM_CB_BUD_REJECT 0x000a | |
89 #define AIM_CB_BUD_ONCOMING 0x000b | |
90 #define AIM_CB_BUD_OFFGOING 0x000c | |
91 #define AIM_CB_BUD_DEFAULT 0xffff | |
92 | |
93 /* | |
94 * SNAC Family: Messeging Services. | |
95 */ | |
96 #define AIM_CB_MSG_ERROR 0x0001 | |
97 #define AIM_CB_MSG_PARAMINFO 0x0005 | |
98 #define AIM_CB_MSG_INCOMING 0x0007 | |
99 #define AIM_CB_MSG_EVIL 0x0009 | |
100 #define AIM_CB_MSG_MISSEDCALL 0x000a | |
3212 | 101 #define AIM_CB_MSG_CLIENTAUTORESP 0x000b |
2086 | 102 #define AIM_CB_MSG_ACK 0x000c |
3595 | 103 #define AIM_CB_MSG_MTN 0x0014 |
2086 | 104 #define AIM_CB_MSG_DEFAULT 0xffff |
105 | |
106 /* | |
107 * SNAC Family: Advertisement Services | |
108 */ | |
109 #define AIM_CB_ADS_ERROR 0x0001 | |
110 #define AIM_CB_ADS_DEFAULT 0xffff | |
111 | |
112 /* | |
113 * SNAC Family: Invitation Services. | |
114 */ | |
115 #define AIM_CB_INV_ERROR 0x0001 | |
116 #define AIM_CB_INV_DEFAULT 0xffff | |
117 | |
118 /* | |
119 * SNAC Family: Administrative Services. | |
120 */ | |
121 #define AIM_CB_ADM_ERROR 0x0001 | |
122 #define AIM_CB_ADM_INFOCHANGE_REPLY 0x0005 | |
123 #define AIM_CB_ADM_DEFAULT 0xffff | |
124 | |
125 /* | |
126 * SNAC Family: Popup Messages | |
127 */ | |
128 #define AIM_CB_POP_ERROR 0x0001 | |
129 #define AIM_CB_POP_DEFAULT 0xffff | |
130 | |
131 /* | |
132 * SNAC Family: Misc BOS Services. | |
133 */ | |
134 #define AIM_CB_BOS_ERROR 0x0001 | |
135 #define AIM_CB_BOS_RIGHTSQUERY 0x0002 | |
136 #define AIM_CB_BOS_RIGHTS 0x0003 | |
137 #define AIM_CB_BOS_DEFAULT 0xffff | |
138 | |
139 /* | |
140 * SNAC Family: User Lookup Services | |
141 */ | |
142 #define AIM_CB_LOK_ERROR 0x0001 | |
143 #define AIM_CB_LOK_DEFAULT 0xffff | |
144 | |
145 /* | |
146 * SNAC Family: User Status Services | |
147 */ | |
148 #define AIM_CB_STS_ERROR 0x0001 | |
149 #define AIM_CB_STS_SETREPORTINTERVAL 0x0002 | |
150 #define AIM_CB_STS_REPORTACK 0x0004 | |
151 #define AIM_CB_STS_DEFAULT 0xffff | |
152 | |
153 /* | |
154 * SNAC Family: Translation Services | |
155 */ | |
156 #define AIM_CB_TRN_ERROR 0x0001 | |
157 #define AIM_CB_TRN_DEFAULT 0xffff | |
158 | |
159 /* | |
160 * SNAC Family: Chat Navigation Services | |
161 */ | |
162 #define AIM_CB_CTN_ERROR 0x0001 | |
163 #define AIM_CB_CTN_CREATE 0x0008 | |
164 #define AIM_CB_CTN_INFO 0x0009 | |
165 #define AIM_CB_CTN_DEFAULT 0xffff | |
166 | |
167 /* | |
168 * SNAC Family: Chat Services | |
169 */ | |
170 #define AIM_CB_CHT_ERROR 0x0001 | |
171 #define AIM_CB_CHT_ROOMINFOUPDATE 0x0002 | |
172 #define AIM_CB_CHT_USERJOIN 0x0003 | |
173 #define AIM_CB_CHT_USERLEAVE 0x0004 | |
174 #define AIM_CB_CHT_OUTGOINGMSG 0x0005 | |
175 #define AIM_CB_CHT_INCOMINGMSG 0x0006 | |
176 #define AIM_CB_CHT_DEFAULT 0xffff | |
177 | |
178 /* | |
2706
e841b14b5b89
[gaim-migrate @ 2719]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2675
diff
changeset
|
179 * SNAC Family: ICQ |
e841b14b5b89
[gaim-migrate @ 2719]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2675
diff
changeset
|
180 * |
e841b14b5b89
[gaim-migrate @ 2719]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2675
diff
changeset
|
181 * Most of these are actually special. |
e841b14b5b89
[gaim-migrate @ 2719]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2675
diff
changeset
|
182 */ |
e841b14b5b89
[gaim-migrate @ 2719]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2675
diff
changeset
|
183 #define AIM_CB_ICQ_ERROR 0x0001 |
e841b14b5b89
[gaim-migrate @ 2719]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2675
diff
changeset
|
184 #define AIM_CB_ICQ_OFFLINEMSG 0x00f0 |
e841b14b5b89
[gaim-migrate @ 2719]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2675
diff
changeset
|
185 #define AIM_CB_ICQ_OFFLINEMSGCOMPLETE 0x00f1 |
2742
6f527cbd899d
[gaim-migrate @ 2755]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2706
diff
changeset
|
186 #define AIM_CB_ICQ_SIMPLEINFO 0x00f2 |
2706
e841b14b5b89
[gaim-migrate @ 2719]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2675
diff
changeset
|
187 #define AIM_CB_ICQ_DEFAULT 0xffff |
e841b14b5b89
[gaim-migrate @ 2719]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2675
diff
changeset
|
188 |
e841b14b5b89
[gaim-migrate @ 2719]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2675
diff
changeset
|
189 /* |
2991 | 190 * SNAC Family: Server-Stored Buddy Lists |
191 */ | |
192 #define AIM_CB_SSI_ERROR 0x0001 | |
193 #define AIM_CB_SSI_REQRIGHTS 0x0002 | |
194 #define AIM_CB_SSI_RIGHTSINFO 0x0003 | |
195 #define AIM_CB_SSI_REQLIST 0x0005 | |
196 #define AIM_CB_SSI_LIST 0x0006 | |
197 #define AIM_CB_SSI_ACTIVATE 0x0007 | |
198 #define AIM_CB_SSI_ADD 0x0008 | |
199 #define AIM_CB_SSI_MOD 0x0009 | |
200 #define AIM_CB_SSI_DEL 0x000A | |
201 #define AIM_CB_SSI_SRVACK 0x000E | |
202 #define AIM_CB_SSI_NOLIST 0x000F | |
203 #define AIM_CB_SSI_EDITSTART 0x0011 | |
204 #define AIM_CB_SSI_EDITSTOP 0x0012 | |
205 | |
206 /* | |
2086 | 207 * SNAC Family: Authorizer |
208 * | |
209 * Used only in protocol versions three and above. | |
210 * | |
211 */ | |
212 #define AIM_CB_ATH_ERROR 0x0001 | |
213 #define AIM_CB_ATH_LOGINREQEST 0x0002 | |
214 #define AIM_CB_ATH_LOGINRESPONSE 0x0003 | |
215 #define AIM_CB_ATH_AUTHREQ 0x0006 | |
216 #define AIM_CB_ATH_AUTHRESPONSE 0x0007 | |
217 | |
218 /* | |
3694 | 219 * SNAC Family: Email |
220 * | |
221 * Used for getting information on the email address | |
222 * associated with your screen name. | |
223 * | |
224 */ | |
225 #define AIM_CB_EML_ERROR 0x0001 | |
226 #define AIM_CB_EML_SENDCOOKIES 0x0006 | |
227 #define AIM_CB_EML_MAILSTATUS 0x0007 | |
228 #define AIM_CB_EML_INIT 0x0016 | |
229 | |
230 /* | |
2086 | 231 * OFT Services |
232 * | |
233 * See non-SNAC note below. | |
234 */ | |
235 #define AIM_CB_OFT_DIRECTIMCONNECTREQ 0x0001/* connect request -- actually an OSCAR CAP*/ | |
236 #define AIM_CB_OFT_DIRECTIMINCOMING 0x0002 | |
237 #define AIM_CB_OFT_DIRECTIMDISCONNECT 0x0003 | |
238 #define AIM_CB_OFT_DIRECTIMTYPING 0x0004 | |
239 #define AIM_CB_OFT_DIRECTIMINITIATE 0x0005 | |
240 | |
3771 | 241 #if 0 |
2086 | 242 #define AIM_CB_OFT_GETFILECONNECTREQ 0x0006 /* connect request -- actually an OSCAR CAP*/ |
243 #define AIM_CB_OFT_GETFILELISTINGREQ 0x0007 /* OFT listing.txt request */ | |
244 #define AIM_CB_OFT_GETFILEFILEREQ 0x0008 /* received file request */ | |
245 #define AIM_CB_OFT_GETFILEFILESEND 0x0009 /* received file request confirm -- send data */ | |
246 #define AIM_CB_OFT_GETFILECOMPLETE 0x000a /* received file send complete*/ | |
247 #define AIM_CB_OFT_GETFILEINITIATE 0x000b /* request for file get acknowledge */ | |
248 #define AIM_CB_OFT_GETFILEDISCONNECT 0x000c /* OFT connection disconnected.*/ | |
249 #define AIM_CB_OFT_GETFILELISTING 0x000d /* OFT listing.txt received.*/ | |
250 #define AIM_CB_OFT_GETFILERECEIVE 0x000e /* OFT file incoming.*/ | |
251 #define AIM_CB_OFT_GETFILELISTINGRXCONFIRM 0x000f | |
252 #define AIM_CB_OFT_GETFILESTATE4 0x0010 | |
3771 | 253 #endif |
2086 | 254 |
3771 | 255 #define AIM_CB_OFT_SENDFILEFILEREQ 0x0011 /* started receiving file */ |
256 #define AIM_CB_OFT_SENDFILEFILESEND 0x0012 /* buddy ready to for us to send */ | |
257 #define AIM_CB_OFT_SENDFILECOMPLETE 0x0013 /* send to buddy complete */ | |
258 #define AIM_CB_OFT_SENDFILEINITIATE 0x0014 /* connection to buddy initiated */ | |
2086 | 259 |
260 | |
261 /* | |
262 * SNAC Family: Internal Messages | |
263 * | |
264 * This isn't truely a SNAC family either, but using | |
265 * these, we can integrated non-SNAC services into | |
266 * the SNAC-centered libfaim callback structure. | |
267 * | |
268 */ | |
269 #define AIM_CB_SPECIAL_AUTHSUCCESS 0x0001 | |
270 #define AIM_CB_SPECIAL_AUTHOTHER 0x0002 | |
271 #define AIM_CB_SPECIAL_CONNERR 0x0003 | |
272 #define AIM_CB_SPECIAL_CONNCOMPLETE 0x0004 | |
273 #define AIM_CB_SPECIAL_FLAPVER 0x0005 | |
2675 | 274 #define AIM_CB_SPECIAL_CONNINITDONE 0x0006 |
3033 | 275 #define AIM_CB_SPECIAL_IMAGETRANSFER 0x007 |
3752 | 276 #define AIM_CB_SPECIAL_MSGTIMEOUT 0x008 |
2086 | 277 #define AIM_CB_SPECIAL_UNKNOWN 0xffff |
278 #define AIM_CB_SPECIAL_DEFAULT AIM_CB_SPECIAL_UNKNOWN | |
279 | |
3752 | 280 /* SNAC flags */ |
281 #define AIM_SNACFLAGS_DESTRUCTOR 0x0001 | |
2086 | 282 |
283 #endif/*__AIM_CBTYPES_H__ */ |