Mercurial > pidgin
comparison src/protocols/oscar/aim_cbtypes.h @ 10436:08c8a18fb557
[gaim-migrate @ 11693]
Add a libfaim callback for anytime we get userinfo about a buddy. this
takes care of sf patch #920579.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 27 Dec 2004 20:40:31 +0000 |
parents | 92cbf9713795 |
children | 61ef9a964574 |
comparison
equal
deleted
inserted
replaced
10435:341d4932f89e | 10436:08c8a18fb557 |
---|---|
41 */ | 41 */ |
42 #define AIM_CB_ACK_ACK 0x0001 | 42 #define AIM_CB_ACK_ACK 0x0001 |
43 | 43 |
44 /* | 44 /* |
45 * SNAC Family: General. | 45 * SNAC Family: General. |
46 */ | 46 */ |
47 #define AIM_CB_GEN_ERROR 0x0001 | 47 #define AIM_CB_GEN_ERROR 0x0001 |
48 #define AIM_CB_GEN_CLIENTREADY 0x0002 | 48 #define AIM_CB_GEN_CLIENTREADY 0x0002 |
49 #define AIM_CB_GEN_SERVERREADY 0x0003 | 49 #define AIM_CB_GEN_SERVERREADY 0x0003 |
50 #define AIM_CB_GEN_SERVICEREQ 0x0004 | 50 #define AIM_CB_GEN_SERVICEREQ 0x0004 |
51 #define AIM_CB_GEN_REDIRECT 0x0005 | 51 #define AIM_CB_GEN_REDIRECT 0x0005 |
66 #define AIM_CB_GEN_NOP 0x0016 | 66 #define AIM_CB_GEN_NOP 0x0016 |
67 #define AIM_CB_GEN_DEFAULT 0xffff | 67 #define AIM_CB_GEN_DEFAULT 0xffff |
68 | 68 |
69 /* | 69 /* |
70 * SNAC Family: Location Services. | 70 * SNAC Family: Location Services. |
71 */ | 71 */ |
72 #define AIM_CB_LOC_ERROR 0x0001 | 72 #define AIM_CB_LOC_ERROR 0x0001 |
73 #define AIM_CB_LOC_REQRIGHTS 0x0002 | 73 #define AIM_CB_LOC_REQRIGHTS 0x0002 |
74 #define AIM_CB_LOC_RIGHTSINFO 0x0003 | 74 #define AIM_CB_LOC_RIGHTSINFO 0x0003 |
75 #define AIM_CB_LOC_SETUSERINFO 0x0004 | 75 #define AIM_CB_LOC_SETUSERINFO 0x0004 |
76 #define AIM_CB_LOC_REQUSERINFO 0x0005 | 76 #define AIM_CB_LOC_REQUSERINFO 0x0005 |
77 #define AIM_CB_LOC_USERINFO 0x0006 | 77 #define AIM_CB_LOC_USERINFO 0x0006 |
78 #define AIM_CB_LOC_WATCHERSUBREQ 0x0007 | 78 #define AIM_CB_LOC_WATCHERSUBREQ 0x0007 |
79 #define AIM_CB_LOC_WATCHERNOT 0x0008 | 79 #define AIM_CB_LOC_WATCHERNOT 0x0008 |
80 #define AIM_CB_LOC_GOTINFOBLOCK 0xfffd | |
80 #define AIM_CB_LOC_REQUESTINFOTIMEOUT 0xfffe | 81 #define AIM_CB_LOC_REQUESTINFOTIMEOUT 0xfffe |
81 #define AIM_CB_LOC_DEFAULT 0xffff | 82 #define AIM_CB_LOC_DEFAULT 0xffff |
82 | 83 |
83 /* | 84 /* |
84 * SNAC Family: Buddy List Management Services. | 85 * SNAC Family: Buddy List Management Services. |
85 */ | 86 */ |
86 #define AIM_CB_BUD_ERROR 0x0001 | 87 #define AIM_CB_BUD_ERROR 0x0001 |
87 #define AIM_CB_BUD_REQRIGHTS 0x0002 | 88 #define AIM_CB_BUD_REQRIGHTS 0x0002 |
88 #define AIM_CB_BUD_RIGHTSINFO 0x0003 | 89 #define AIM_CB_BUD_RIGHTSINFO 0x0003 |
89 #define AIM_CB_BUD_ADDBUDDY 0x0004 | 90 #define AIM_CB_BUD_ADDBUDDY 0x0004 |
90 #define AIM_CB_BUD_REMBUDDY 0x0005 | 91 #define AIM_CB_BUD_REMBUDDY 0x0005 |
93 #define AIM_CB_BUD_OFFGOING 0x000c | 94 #define AIM_CB_BUD_OFFGOING 0x000c |
94 #define AIM_CB_BUD_DEFAULT 0xffff | 95 #define AIM_CB_BUD_DEFAULT 0xffff |
95 | 96 |
96 /* | 97 /* |
97 * SNAC Family: Messaging Services. | 98 * SNAC Family: Messaging Services. |
98 */ | 99 */ |
99 #define AIM_CB_MSG_ERROR 0x0001 | 100 #define AIM_CB_MSG_ERROR 0x0001 |
100 #define AIM_CB_MSG_PARAMINFO 0x0005 | 101 #define AIM_CB_MSG_PARAMINFO 0x0005 |
101 #define AIM_CB_MSG_INCOMING 0x0007 | 102 #define AIM_CB_MSG_INCOMING 0x0007 |
102 #define AIM_CB_MSG_EVIL 0x0009 | 103 #define AIM_CB_MSG_EVIL 0x0009 |
103 #define AIM_CB_MSG_MISSEDCALL 0x000a | 104 #define AIM_CB_MSG_MISSEDCALL 0x000a |
106 #define AIM_CB_MSG_MTN 0x0014 | 107 #define AIM_CB_MSG_MTN 0x0014 |
107 #define AIM_CB_MSG_DEFAULT 0xffff | 108 #define AIM_CB_MSG_DEFAULT 0xffff |
108 | 109 |
109 /* | 110 /* |
110 * SNAC Family: Advertisement Services | 111 * SNAC Family: Advertisement Services |
111 */ | 112 */ |
112 #define AIM_CB_ADS_ERROR 0x0001 | 113 #define AIM_CB_ADS_ERROR 0x0001 |
113 #define AIM_CB_ADS_DEFAULT 0xffff | 114 #define AIM_CB_ADS_DEFAULT 0xffff |
114 | 115 |
115 /* | 116 /* |
116 * SNAC Family: Invitation Services. | 117 * SNAC Family: Invitation Services. |
117 */ | 118 */ |
118 #define AIM_CB_INV_ERROR 0x0001 | 119 #define AIM_CB_INV_ERROR 0x0001 |
119 #define AIM_CB_INV_DEFAULT 0xffff | 120 #define AIM_CB_INV_DEFAULT 0xffff |
120 | 121 |
121 /* | 122 /* |
122 * SNAC Family: Administrative Services. | 123 * SNAC Family: Administrative Services. |
123 */ | 124 */ |
124 #define AIM_CB_ADM_ERROR 0x0001 | 125 #define AIM_CB_ADM_ERROR 0x0001 |
125 #define AIM_CB_ADM_INFOCHANGE_REPLY 0x0005 | 126 #define AIM_CB_ADM_INFOCHANGE_REPLY 0x0005 |
126 #define AIM_CB_ADM_DEFAULT 0xffff | 127 #define AIM_CB_ADM_DEFAULT 0xffff |
127 | 128 |
128 /* | 129 /* |
129 * SNAC Family: Popup Messages | 130 * SNAC Family: Popup Messages |
130 */ | 131 */ |
131 #define AIM_CB_POP_ERROR 0x0001 | 132 #define AIM_CB_POP_ERROR 0x0001 |
132 #define AIM_CB_POP_DEFAULT 0xffff | 133 #define AIM_CB_POP_DEFAULT 0xffff |
133 | 134 |
134 /* | 135 /* |
135 * SNAC Family: Misc BOS Services. | 136 * SNAC Family: Misc BOS Services. |
136 */ | 137 */ |
137 #define AIM_CB_BOS_ERROR 0x0001 | 138 #define AIM_CB_BOS_ERROR 0x0001 |
138 #define AIM_CB_BOS_RIGHTSQUERY 0x0002 | 139 #define AIM_CB_BOS_RIGHTSQUERY 0x0002 |
139 #define AIM_CB_BOS_RIGHTS 0x0003 | 140 #define AIM_CB_BOS_RIGHTS 0x0003 |
140 #define AIM_CB_BOS_DEFAULT 0xffff | 141 #define AIM_CB_BOS_DEFAULT 0xffff |
141 | 142 |
142 /* | 143 /* |
143 * SNAC Family: User Lookup Services | 144 * SNAC Family: User Lookup Services |
144 */ | 145 */ |
145 #define AIM_CB_LOK_ERROR 0x0001 | 146 #define AIM_CB_LOK_ERROR 0x0001 |
146 #define AIM_CB_LOK_DEFAULT 0xffff | 147 #define AIM_CB_LOK_DEFAULT 0xffff |
147 | 148 |
148 /* | 149 /* |
149 * SNAC Family: User Status Services | 150 * SNAC Family: User Status Services |
150 */ | 151 */ |
151 #define AIM_CB_STS_ERROR 0x0001 | 152 #define AIM_CB_STS_ERROR 0x0001 |
152 #define AIM_CB_STS_SETREPORTINTERVAL 0x0002 | 153 #define AIM_CB_STS_SETREPORTINTERVAL 0x0002 |
153 #define AIM_CB_STS_REPORTACK 0x0004 | 154 #define AIM_CB_STS_REPORTACK 0x0004 |
154 #define AIM_CB_STS_DEFAULT 0xffff | 155 #define AIM_CB_STS_DEFAULT 0xffff |
155 | 156 |
156 /* | 157 /* |
157 * SNAC Family: Translation Services | 158 * SNAC Family: Translation Services |
158 */ | 159 */ |
159 #define AIM_CB_TRN_ERROR 0x0001 | 160 #define AIM_CB_TRN_ERROR 0x0001 |
160 #define AIM_CB_TRN_DEFAULT 0xffff | 161 #define AIM_CB_TRN_DEFAULT 0xffff |
161 | 162 |
162 /* | 163 /* |
163 * SNAC Family: Chat Navigation Services | 164 * SNAC Family: Chat Navigation Services |
164 */ | 165 */ |
165 #define AIM_CB_CTN_ERROR 0x0001 | 166 #define AIM_CB_CTN_ERROR 0x0001 |
166 #define AIM_CB_CTN_CREATE 0x0008 | 167 #define AIM_CB_CTN_CREATE 0x0008 |
167 #define AIM_CB_CTN_INFO 0x0009 | 168 #define AIM_CB_CTN_INFO 0x0009 |
168 #define AIM_CB_CTN_DEFAULT 0xffff | 169 #define AIM_CB_CTN_DEFAULT 0xffff |
169 | 170 |
170 /* | 171 /* |
171 * SNAC Family: Chat Services | 172 * SNAC Family: Chat Services |
172 */ | 173 */ |
173 #define AIM_CB_CHT_ERROR 0x0001 | 174 #define AIM_CB_CHT_ERROR 0x0001 |
174 #define AIM_CB_CHT_ROOMINFOUPDATE 0x0002 | 175 #define AIM_CB_CHT_ROOMINFOUPDATE 0x0002 |
175 #define AIM_CB_CHT_USERJOIN 0x0003 | 176 #define AIM_CB_CHT_USERJOIN 0x0003 |
176 #define AIM_CB_CHT_USERLEAVE 0x0004 | 177 #define AIM_CB_CHT_USERLEAVE 0x0004 |
177 #define AIM_CB_CHT_OUTGOINGMSG 0x0005 | 178 #define AIM_CB_CHT_OUTGOINGMSG 0x0005 |
178 #define AIM_CB_CHT_INCOMINGMSG 0x0006 | 179 #define AIM_CB_CHT_INCOMINGMSG 0x0006 |
179 #define AIM_CB_CHT_DEFAULT 0xffff | 180 #define AIM_CB_CHT_DEFAULT 0xffff |
180 | 181 |
181 /* | 182 /* |
182 * SNAC Family: "New" Search | 183 * SNAC Family: "New" Search |
183 */ | 184 */ |
184 #define AIM_CB_SCH_ERROR 0x0001 | 185 #define AIM_CB_SCH_ERROR 0x0001 |
185 #define AIM_CB_SCH_SEARCH 0x0002 | 186 #define AIM_CB_SCH_SEARCH 0x0002 |
186 #define AIM_CB_SCH_RESULTS 0x0003 | 187 #define AIM_CB_SCH_RESULTS 0x0003 |
187 | 188 |
188 /* | 189 /* |
189 * SNAC Family: Buddy icons | 190 * SNAC Family: Buddy icons |
190 */ | 191 */ |
191 #define AIM_CB_ICO_ERROR 0x0001 | 192 #define AIM_CB_ICO_ERROR 0x0001 |
192 #define AIM_CB_ICO_REQUEST 0x0004 | 193 #define AIM_CB_ICO_REQUEST 0x0004 |
193 #define AIM_CB_ICO_RESPONSE 0x0005 | 194 #define AIM_CB_ICO_RESPONSE 0x0005 |
194 | 195 |
195 /* | 196 /* |
196 * SNAC Family: ICQ | 197 * SNAC Family: ICQ |
197 * | 198 * |
198 * Most of these are actually special. | 199 * Most of these are actually special. |
199 */ | 200 */ |
200 #define AIM_CB_ICQ_ERROR 0x0001 | 201 #define AIM_CB_ICQ_ERROR 0x0001 |
201 #define AIM_CB_ICQ_OFFLINEMSG 0x00f0 | 202 #define AIM_CB_ICQ_OFFLINEMSG 0x00f0 |
202 #define AIM_CB_ICQ_OFFLINEMSGCOMPLETE 0x00f1 | 203 #define AIM_CB_ICQ_OFFLINEMSGCOMPLETE 0x00f1 |
203 #define AIM_CB_ICQ_INFO 0x00f2 | 204 #define AIM_CB_ICQ_INFO 0x00f2 |
204 #define AIM_CB_ICQ_ALIAS 0x00f3 | 205 #define AIM_CB_ICQ_ALIAS 0x00f3 |
277 #define AIM_CB_OFT_RESUME 0x0205 /* Resume transferring, sent by whoever paused? */ | 278 #define AIM_CB_OFT_RESUME 0x0205 /* Resume transferring, sent by whoever paused? */ |
278 #define AIM_CB_OFT_RESUMEACK 0x0207 /* Not really sure */ | 279 #define AIM_CB_OFT_RESUMEACK 0x0207 /* Not really sure */ |
279 | 280 |
280 #define AIM_CB_OFT_GETFILE_REQUESTLISTING 0x1108 /* "I have a listing.txt file, do you want it?" */ | 281 #define AIM_CB_OFT_GETFILE_REQUESTLISTING 0x1108 /* "I have a listing.txt file, do you want it?" */ |
281 #define AIM_CB_OFT_GETFILE_RECEIVELISTING 0x1209 /* "Yes, please send me your listing.txt file" */ | 282 #define AIM_CB_OFT_GETFILE_RECEIVELISTING 0x1209 /* "Yes, please send me your listing.txt file" */ |
282 #define AIM_CB_OFT_GETFILE_RECEIVEDLISTING 0x120a /* received corrupt listing.txt file? */ /* I'm just guessing about this one... */ | 283 #define AIM_CB_OFT_GETFILE_RECEIVEDLISTING 0x120a /* received corrupt listing.txt file? I'm just guessing about this one... */ |
283 #define AIM_CB_OFT_GETFILE_ACKLISTING 0x120b /* "I received the listing.txt file successfully" */ | 284 #define AIM_CB_OFT_GETFILE_ACKLISTING 0x120b /* "I received the listing.txt file successfully" */ |
284 #define AIM_CB_OFT_GETFILE_REQUESTFILE 0x120c /* "Please send me this file" */ | 285 #define AIM_CB_OFT_GETFILE_REQUESTFILE 0x120c /* "Please send me this file" */ |
285 | 286 |
286 #define AIM_CB_OFT_ESTABLISHED 0xFFFF /* connection to buddy initiated */ | 287 #define AIM_CB_OFT_ESTABLISHED 0xFFFF /* connection to buddy initiated */ |
287 | 288 |
290 * | 291 * |
291 * This isn't truly a SNAC family either, but using | 292 * This isn't truly a SNAC family either, but using |
292 * these, we can integrated non-SNAC services into | 293 * these, we can integrated non-SNAC services into |
293 * the SNAC-centered libfaim callback structure. | 294 * the SNAC-centered libfaim callback structure. |
294 * | 295 * |
295 */ | 296 */ |
296 #define AIM_CB_SPECIAL_AUTHSUCCESS 0x0001 | 297 #define AIM_CB_SPECIAL_AUTHSUCCESS 0x0001 |
297 #define AIM_CB_SPECIAL_AUTHOTHER 0x0002 | 298 #define AIM_CB_SPECIAL_AUTHOTHER 0x0002 |
298 #define AIM_CB_SPECIAL_CONNERR 0x0003 | 299 #define AIM_CB_SPECIAL_CONNERR 0x0003 |
299 #define AIM_CB_SPECIAL_CONNCOMPLETE 0x0004 | 300 #define AIM_CB_SPECIAL_CONNCOMPLETE 0x0004 |
300 #define AIM_CB_SPECIAL_FLAPVER 0x0005 | 301 #define AIM_CB_SPECIAL_FLAPVER 0x0005 |