Sun, 18 May 2003 19:13:21 +0000
[gaim-migrate @ 5817]
Phroggie says windows doesn't have a z modifier, so I'm just going to
change size_t to an int, since it really doesn't matter.
I also changed some sprintf's to snprintf's, I'm not really sure why.
Changed a printf to gaim_debug in oscar.c, I don't know how that got
in there. And I applied a patch that adds an optional callback thing
for when a connection is closed. Gaim doesn't use it, but the guy
that submitted the patch said it was useful to him.
| 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 */ | |
|
3952
d13e1fde68d8
[gaim-migrate @ 4133]
Mark Doliner <markdoliner@pidgin.im>
parents:
3771
diff
changeset
|
26 | #define AIM_CB_FAM_SCH 0x000f /* "New" search */ |
|
4617
35d860860593
[gaim-migrate @ 4908]
Mark Doliner <markdoliner@pidgin.im>
parents:
4230
diff
changeset
|
27 | #define AIM_CB_FAM_ICO 0x0010 /* Used for uploading buddy icons */ |
| 2991 | 28 | #define AIM_CB_FAM_SSI 0x0013 /* Server stored information */ |
|
2706
ac9384d37d6c
[gaim-migrate @ 2719]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2675
diff
changeset
|
29 | #define AIM_CB_FAM_ICQ 0x0015 |
| 2086 | 30 | #define AIM_CB_FAM_ATH 0x0017 |
|
3694
49a336931cc6
[gaim-migrate @ 3824]
Mark Doliner <markdoliner@pidgin.im>
parents:
3595
diff
changeset
|
31 | #define AIM_CB_FAM_EML 0x0018 |
| 2086 | 32 | #define AIM_CB_FAM_OFT 0xfffe /* OFT/Rvous */ |
| 33 | #define AIM_CB_FAM_SPECIAL 0xffff /* Internal libfaim use */ | |
| 34 | ||
| 35 | /* | |
| 36 | * SNAC Family: Ack. | |
| 37 | * | |
| 38 | * Not really a family, but treating it as one really | |
| 39 | * helps it fit into the libfaim callback structure better. | |
| 40 | * | |
| 41 | */ | |
| 42 | #define AIM_CB_ACK_ACK 0x0001 | |
| 43 | ||
| 44 | /* | |
| 45 | * SNAC Family: General. | |
| 46 | */ | |
| 47 | #define AIM_CB_GEN_ERROR 0x0001 | |
| 48 | #define AIM_CB_GEN_CLIENTREADY 0x0002 | |
| 49 | #define AIM_CB_GEN_SERVERREADY 0x0003 | |
| 50 | #define AIM_CB_GEN_SERVICEREQ 0x0004 | |
| 51 | #define AIM_CB_GEN_REDIRECT 0x0005 | |
| 52 | #define AIM_CB_GEN_RATEINFOREQ 0x0006 | |
| 53 | #define AIM_CB_GEN_RATEINFO 0x0007 | |
| 54 | #define AIM_CB_GEN_RATEINFOACK 0x0008 | |
| 55 | #define AIM_CB_GEN_RATECHANGE 0x000a | |
| 56 | #define AIM_CB_GEN_SERVERPAUSE 0x000b | |
| 57 | #define AIM_CB_GEN_SERVERRESUME 0x000d | |
| 58 | #define AIM_CB_GEN_REQSELFINFO 0x000e | |
| 59 | #define AIM_CB_GEN_SELFINFO 0x000f | |
| 60 | #define AIM_CB_GEN_EVIL 0x0010 | |
| 61 | #define AIM_CB_GEN_SETIDLE 0x0011 | |
| 62 | #define AIM_CB_GEN_MIGRATIONREQ 0x0012 | |
| 63 | #define AIM_CB_GEN_MOTD 0x0013 | |
| 64 | #define AIM_CB_GEN_SETPRIVFLAGS 0x0014 | |
| 65 | #define AIM_CB_GEN_WELLKNOWNURL 0x0015 | |
| 66 | #define AIM_CB_GEN_NOP 0x0016 | |
| 67 | #define AIM_CB_GEN_DEFAULT 0xffff | |
| 68 | ||
| 69 | /* | |
| 70 | * SNAC Family: Location Services. | |
| 71 | */ | |
| 72 | #define AIM_CB_LOC_ERROR 0x0001 | |
| 73 | #define AIM_CB_LOC_REQRIGHTS 0x0002 | |
| 74 | #define AIM_CB_LOC_RIGHTSINFO 0x0003 | |
| 75 | #define AIM_CB_LOC_SETUSERINFO 0x0004 | |
| 76 | #define AIM_CB_LOC_REQUSERINFO 0x0005 | |
| 77 | #define AIM_CB_LOC_USERINFO 0x0006 | |
| 78 | #define AIM_CB_LOC_WATCHERSUBREQ 0x0007 | |
| 79 | #define AIM_CB_LOC_WATCHERNOT 0x0008 | |
| 80 | #define AIM_CB_LOC_DEFAULT 0xffff | |
| 81 | ||
| 82 | /* | |
| 83 | * SNAC Family: Buddy List Management Services. | |
| 84 | */ | |
| 85 | #define AIM_CB_BUD_ERROR 0x0001 | |
| 86 | #define AIM_CB_BUD_REQRIGHTS 0x0002 | |
| 87 | #define AIM_CB_BUD_RIGHTSINFO 0x0003 | |
| 88 | #define AIM_CB_BUD_ADDBUDDY 0x0004 | |
| 89 | #define AIM_CB_BUD_REMBUDDY 0x0005 | |
| 90 | #define AIM_CB_BUD_REJECT 0x000a | |
| 91 | #define AIM_CB_BUD_ONCOMING 0x000b | |
| 92 | #define AIM_CB_BUD_OFFGOING 0x000c | |
| 93 | #define AIM_CB_BUD_DEFAULT 0xffff | |
| 94 | ||
| 95 | /* | |
| 96 | * SNAC Family: Messeging Services. | |
| 97 | */ | |
| 98 | #define AIM_CB_MSG_ERROR 0x0001 | |
| 99 | #define AIM_CB_MSG_PARAMINFO 0x0005 | |
| 100 | #define AIM_CB_MSG_INCOMING 0x0007 | |
| 101 | #define AIM_CB_MSG_EVIL 0x0009 | |
| 102 | #define AIM_CB_MSG_MISSEDCALL 0x000a | |
|
3212
3c00e6f5f085
[gaim-migrate @ 3229]
Mark Doliner <markdoliner@pidgin.im>
parents:
3033
diff
changeset
|
103 | #define AIM_CB_MSG_CLIENTAUTORESP 0x000b |
| 2086 | 104 | #define AIM_CB_MSG_ACK 0x000c |
|
3595
28da7ae040a5
[gaim-migrate @ 3697]
Mark Doliner <markdoliner@pidgin.im>
parents:
3212
diff
changeset
|
105 | #define AIM_CB_MSG_MTN 0x0014 |
| 2086 | 106 | #define AIM_CB_MSG_DEFAULT 0xffff |
| 107 | ||
| 108 | /* | |
| 109 | * SNAC Family: Advertisement Services | |
| 110 | */ | |
| 111 | #define AIM_CB_ADS_ERROR 0x0001 | |
| 112 | #define AIM_CB_ADS_DEFAULT 0xffff | |
| 113 | ||
| 114 | /* | |
| 115 | * SNAC Family: Invitation Services. | |
| 116 | */ | |
| 117 | #define AIM_CB_INV_ERROR 0x0001 | |
| 118 | #define AIM_CB_INV_DEFAULT 0xffff | |
| 119 | ||
| 120 | /* | |
| 121 | * SNAC Family: Administrative Services. | |
| 122 | */ | |
| 123 | #define AIM_CB_ADM_ERROR 0x0001 | |
| 124 | #define AIM_CB_ADM_INFOCHANGE_REPLY 0x0005 | |
| 125 | #define AIM_CB_ADM_DEFAULT 0xffff | |
| 126 | ||
| 127 | /* | |
| 128 | * SNAC Family: Popup Messages | |
| 129 | */ | |
| 130 | #define AIM_CB_POP_ERROR 0x0001 | |
| 131 | #define AIM_CB_POP_DEFAULT 0xffff | |
| 132 | ||
| 133 | /* | |
| 134 | * SNAC Family: Misc BOS Services. | |
| 135 | */ | |
| 136 | #define AIM_CB_BOS_ERROR 0x0001 | |
| 137 | #define AIM_CB_BOS_RIGHTSQUERY 0x0002 | |
| 138 | #define AIM_CB_BOS_RIGHTS 0x0003 | |
| 139 | #define AIM_CB_BOS_DEFAULT 0xffff | |
| 140 | ||
| 141 | /* | |
| 142 | * SNAC Family: User Lookup Services | |
| 143 | */ | |
| 144 | #define AIM_CB_LOK_ERROR 0x0001 | |
| 145 | #define AIM_CB_LOK_DEFAULT 0xffff | |
| 146 | ||
| 147 | /* | |
| 148 | * SNAC Family: User Status Services | |
| 149 | */ | |
| 150 | #define AIM_CB_STS_ERROR 0x0001 | |
| 151 | #define AIM_CB_STS_SETREPORTINTERVAL 0x0002 | |
| 152 | #define AIM_CB_STS_REPORTACK 0x0004 | |
| 153 | #define AIM_CB_STS_DEFAULT 0xffff | |
| 154 | ||
| 155 | /* | |
| 156 | * SNAC Family: Translation Services | |
| 157 | */ | |
| 158 | #define AIM_CB_TRN_ERROR 0x0001 | |
| 159 | #define AIM_CB_TRN_DEFAULT 0xffff | |
| 160 | ||
| 161 | /* | |
| 162 | * SNAC Family: Chat Navigation Services | |
| 163 | */ | |
| 164 | #define AIM_CB_CTN_ERROR 0x0001 | |
| 165 | #define AIM_CB_CTN_CREATE 0x0008 | |
| 166 | #define AIM_CB_CTN_INFO 0x0009 | |
| 167 | #define AIM_CB_CTN_DEFAULT 0xffff | |
| 168 | ||
| 169 | /* | |
| 170 | * SNAC Family: Chat Services | |
| 171 | */ | |
| 172 | #define AIM_CB_CHT_ERROR 0x0001 | |
| 173 | #define AIM_CB_CHT_ROOMINFOUPDATE 0x0002 | |
| 174 | #define AIM_CB_CHT_USERJOIN 0x0003 | |
| 175 | #define AIM_CB_CHT_USERLEAVE 0x0004 | |
| 176 | #define AIM_CB_CHT_OUTGOINGMSG 0x0005 | |
| 177 | #define AIM_CB_CHT_INCOMINGMSG 0x0006 | |
| 178 | #define AIM_CB_CHT_DEFAULT 0xffff | |
| 179 | ||
| 180 | /* | |
|
3952
d13e1fde68d8
[gaim-migrate @ 4133]
Mark Doliner <markdoliner@pidgin.im>
parents:
3771
diff
changeset
|
181 | * SNAC Family: "New" Search |
|
d13e1fde68d8
[gaim-migrate @ 4133]
Mark Doliner <markdoliner@pidgin.im>
parents:
3771
diff
changeset
|
182 | */ |
|
d13e1fde68d8
[gaim-migrate @ 4133]
Mark Doliner <markdoliner@pidgin.im>
parents:
3771
diff
changeset
|
183 | #define AIM_CB_SCH_ERROR 0x0001 |
|
d13e1fde68d8
[gaim-migrate @ 4133]
Mark Doliner <markdoliner@pidgin.im>
parents:
3771
diff
changeset
|
184 | #define AIM_CB_SCH_SEARCH 0x0002 |
|
d13e1fde68d8
[gaim-migrate @ 4133]
Mark Doliner <markdoliner@pidgin.im>
parents:
3771
diff
changeset
|
185 | #define AIM_CB_SCH_RESULTS 0x0003 |
|
d13e1fde68d8
[gaim-migrate @ 4133]
Mark Doliner <markdoliner@pidgin.im>
parents:
3771
diff
changeset
|
186 | |
|
d13e1fde68d8
[gaim-migrate @ 4133]
Mark Doliner <markdoliner@pidgin.im>
parents:
3771
diff
changeset
|
187 | /* |
|
4804
e6e0e6d50d39
[gaim-migrate @ 5124]
Mark Doliner <markdoliner@pidgin.im>
parents:
4759
diff
changeset
|
188 | * SNAC Family: Buddy icons |
|
e6e0e6d50d39
[gaim-migrate @ 5124]
Mark Doliner <markdoliner@pidgin.im>
parents:
4759
diff
changeset
|
189 | */ |
|
e6e0e6d50d39
[gaim-migrate @ 5124]
Mark Doliner <markdoliner@pidgin.im>
parents:
4759
diff
changeset
|
190 | #define AIM_CB_ICO_ERROR 0x0001 |
|
e6e0e6d50d39
[gaim-migrate @ 5124]
Mark Doliner <markdoliner@pidgin.im>
parents:
4759
diff
changeset
|
191 | #define AIM_CB_ICO_REQUEST 0x0004 |
|
e6e0e6d50d39
[gaim-migrate @ 5124]
Mark Doliner <markdoliner@pidgin.im>
parents:
4759
diff
changeset
|
192 | #define AIM_CB_ICO_RESPONSE 0x0005 |
|
e6e0e6d50d39
[gaim-migrate @ 5124]
Mark Doliner <markdoliner@pidgin.im>
parents:
4759
diff
changeset
|
193 | |
|
e6e0e6d50d39
[gaim-migrate @ 5124]
Mark Doliner <markdoliner@pidgin.im>
parents:
4759
diff
changeset
|
194 | /* |
|
2706
ac9384d37d6c
[gaim-migrate @ 2719]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2675
diff
changeset
|
195 | * SNAC Family: ICQ |
|
ac9384d37d6c
[gaim-migrate @ 2719]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2675
diff
changeset
|
196 | * |
|
ac9384d37d6c
[gaim-migrate @ 2719]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2675
diff
changeset
|
197 | * Most of these are actually special. |
|
ac9384d37d6c
[gaim-migrate @ 2719]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2675
diff
changeset
|
198 | */ |
|
ac9384d37d6c
[gaim-migrate @ 2719]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2675
diff
changeset
|
199 | #define AIM_CB_ICQ_ERROR 0x0001 |
|
ac9384d37d6c
[gaim-migrate @ 2719]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2675
diff
changeset
|
200 | #define AIM_CB_ICQ_OFFLINEMSG 0x00f0 |
|
ac9384d37d6c
[gaim-migrate @ 2719]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2675
diff
changeset
|
201 | #define AIM_CB_ICQ_OFFLINEMSGCOMPLETE 0x00f1 |
|
4624
8bf85f27e60c
[gaim-migrate @ 4915]
Mark Doliner <markdoliner@pidgin.im>
parents:
4617
diff
changeset
|
202 | #define AIM_CB_ICQ_INFO 0x00f2 |
|
4759
5a8c326b49b3
[gaim-migrate @ 5076]
Mark Doliner <markdoliner@pidgin.im>
parents:
4624
diff
changeset
|
203 | #define AIM_CB_ICQ_ALIAS 0x00f3 |
|
2706
ac9384d37d6c
[gaim-migrate @ 2719]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2675
diff
changeset
|
204 | #define AIM_CB_ICQ_DEFAULT 0xffff |
|
ac9384d37d6c
[gaim-migrate @ 2719]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2675
diff
changeset
|
205 | |
|
ac9384d37d6c
[gaim-migrate @ 2719]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2675
diff
changeset
|
206 | /* |
| 2991 | 207 | * SNAC Family: Server-Stored Buddy Lists |
| 208 | */ | |
| 209 | #define AIM_CB_SSI_ERROR 0x0001 | |
| 210 | #define AIM_CB_SSI_REQRIGHTS 0x0002 | |
| 211 | #define AIM_CB_SSI_RIGHTSINFO 0x0003 | |
| 212 | #define AIM_CB_SSI_REQLIST 0x0005 | |
| 213 | #define AIM_CB_SSI_LIST 0x0006 | |
| 214 | #define AIM_CB_SSI_ACTIVATE 0x0007 | |
| 215 | #define AIM_CB_SSI_ADD 0x0008 | |
| 216 | #define AIM_CB_SSI_MOD 0x0009 | |
| 217 | #define AIM_CB_SSI_DEL 0x000A | |
| 218 | #define AIM_CB_SSI_SRVACK 0x000E | |
| 219 | #define AIM_CB_SSI_NOLIST 0x000F | |
| 220 | #define AIM_CB_SSI_EDITSTART 0x0011 | |
| 221 | #define AIM_CB_SSI_EDITSTOP 0x0012 | |
|
4230
b5393db78439
[gaim-migrate @ 4475]
Mark Doliner <markdoliner@pidgin.im>
parents:
4151
diff
changeset
|
222 | #define AIM_CB_SSI_SENDAUTH 0x0014 |
|
b5393db78439
[gaim-migrate @ 4475]
Mark Doliner <markdoliner@pidgin.im>
parents:
4151
diff
changeset
|
223 | #define AIM_CB_SSI_RECVAUTH 0x0015 |
|
b5393db78439
[gaim-migrate @ 4475]
Mark Doliner <markdoliner@pidgin.im>
parents:
4151
diff
changeset
|
224 | #define AIM_CB_SSI_SENDAUTHREQ 0x0018 |
|
b5393db78439
[gaim-migrate @ 4475]
Mark Doliner <markdoliner@pidgin.im>
parents:
4151
diff
changeset
|
225 | #define AIM_CB_SSI_RECVAUTHREQ 0x0019 |
|
b5393db78439
[gaim-migrate @ 4475]
Mark Doliner <markdoliner@pidgin.im>
parents:
4151
diff
changeset
|
226 | #define AIM_CB_SSI_SENDAUTHREP 0x001a |
|
b5393db78439
[gaim-migrate @ 4475]
Mark Doliner <markdoliner@pidgin.im>
parents:
4151
diff
changeset
|
227 | #define AIM_CB_SSI_RECVAUTHREP 0x001b |
|
b5393db78439
[gaim-migrate @ 4475]
Mark Doliner <markdoliner@pidgin.im>
parents:
4151
diff
changeset
|
228 | #define AIM_CB_SSI_ADDED 0x001c |
| 2991 | 229 | |
| 230 | /* | |
| 2086 | 231 | * SNAC Family: Authorizer |
| 232 | * | |
| 233 | * Used only in protocol versions three and above. | |
| 234 | * | |
| 235 | */ | |
| 236 | #define AIM_CB_ATH_ERROR 0x0001 | |
| 237 | #define AIM_CB_ATH_LOGINREQEST 0x0002 | |
| 238 | #define AIM_CB_ATH_LOGINRESPONSE 0x0003 | |
| 239 | #define AIM_CB_ATH_AUTHREQ 0x0006 | |
| 240 | #define AIM_CB_ATH_AUTHRESPONSE 0x0007 | |
| 241 | ||
| 242 | /* | |
|
3694
49a336931cc6
[gaim-migrate @ 3824]
Mark Doliner <markdoliner@pidgin.im>
parents:
3595
diff
changeset
|
243 | * SNAC Family: Email |
|
49a336931cc6
[gaim-migrate @ 3824]
Mark Doliner <markdoliner@pidgin.im>
parents:
3595
diff
changeset
|
244 | * |
|
49a336931cc6
[gaim-migrate @ 3824]
Mark Doliner <markdoliner@pidgin.im>
parents:
3595
diff
changeset
|
245 | * Used for getting information on the email address |
|
49a336931cc6
[gaim-migrate @ 3824]
Mark Doliner <markdoliner@pidgin.im>
parents:
3595
diff
changeset
|
246 | * associated with your screen name. |
|
49a336931cc6
[gaim-migrate @ 3824]
Mark Doliner <markdoliner@pidgin.im>
parents:
3595
diff
changeset
|
247 | * |
|
49a336931cc6
[gaim-migrate @ 3824]
Mark Doliner <markdoliner@pidgin.im>
parents:
3595
diff
changeset
|
248 | */ |
|
49a336931cc6
[gaim-migrate @ 3824]
Mark Doliner <markdoliner@pidgin.im>
parents:
3595
diff
changeset
|
249 | #define AIM_CB_EML_ERROR 0x0001 |
|
49a336931cc6
[gaim-migrate @ 3824]
Mark Doliner <markdoliner@pidgin.im>
parents:
3595
diff
changeset
|
250 | #define AIM_CB_EML_SENDCOOKIES 0x0006 |
|
49a336931cc6
[gaim-migrate @ 3824]
Mark Doliner <markdoliner@pidgin.im>
parents:
3595
diff
changeset
|
251 | #define AIM_CB_EML_MAILSTATUS 0x0007 |
|
49a336931cc6
[gaim-migrate @ 3824]
Mark Doliner <markdoliner@pidgin.im>
parents:
3595
diff
changeset
|
252 | #define AIM_CB_EML_INIT 0x0016 |
|
49a336931cc6
[gaim-migrate @ 3824]
Mark Doliner <markdoliner@pidgin.im>
parents:
3595
diff
changeset
|
253 | |
|
49a336931cc6
[gaim-migrate @ 3824]
Mark Doliner <markdoliner@pidgin.im>
parents:
3595
diff
changeset
|
254 | /* |
| 2086 | 255 | * OFT Services |
| 256 | * | |
|
4832
32a5d9c54484
[gaim-migrate @ 5157]
Mark Doliner <markdoliner@pidgin.im>
parents:
4827
diff
changeset
|
257 | * For all of the above #defines, the number is the subtype |
|
32a5d9c54484
[gaim-migrate @ 5157]
Mark Doliner <markdoliner@pidgin.im>
parents:
4827
diff
changeset
|
258 | * of the SNAC. For OFT #defines, the number is the |
|
32a5d9c54484
[gaim-migrate @ 5157]
Mark Doliner <markdoliner@pidgin.im>
parents:
4827
diff
changeset
|
259 | * "hdrtype" which comes after the magic string and OFT |
|
32a5d9c54484
[gaim-migrate @ 5157]
Mark Doliner <markdoliner@pidgin.im>
parents:
4827
diff
changeset
|
260 | * packet length. |
|
32a5d9c54484
[gaim-migrate @ 5157]
Mark Doliner <markdoliner@pidgin.im>
parents:
4827
diff
changeset
|
261 | * |
|
32a5d9c54484
[gaim-migrate @ 5157]
Mark Doliner <markdoliner@pidgin.im>
parents:
4827
diff
changeset
|
262 | * I'm pretty sure the ODC ones are arbitrary right now, |
|
32a5d9c54484
[gaim-migrate @ 5157]
Mark Doliner <markdoliner@pidgin.im>
parents:
4827
diff
changeset
|
263 | * that should be changed. |
| 2086 | 264 | */ |
|
4832
32a5d9c54484
[gaim-migrate @ 5157]
Mark Doliner <markdoliner@pidgin.im>
parents:
4827
diff
changeset
|
265 | #define AIM_CB_OFT_DIRECTIMCONNECTREQ 0x0001 /* connect request -- actually an OSCAR CAP */ |
| 2086 | 266 | #define AIM_CB_OFT_DIRECTIMINCOMING 0x0002 |
| 267 | #define AIM_CB_OFT_DIRECTIMDISCONNECT 0x0003 | |
| 268 | #define AIM_CB_OFT_DIRECTIMTYPING 0x0004 | |
|
4617
35d860860593
[gaim-migrate @ 4908]
Mark Doliner <markdoliner@pidgin.im>
parents:
4230
diff
changeset
|
269 | #define AIM_CB_OFT_DIRECTIM_ESTABLISHED 0x0005 |
| 2086 | 270 | |
|
4832
32a5d9c54484
[gaim-migrate @ 5157]
Mark Doliner <markdoliner@pidgin.im>
parents:
4827
diff
changeset
|
271 | #define AIM_CB_OFT_PROMPT 0x0101 /* "I am going to send you this file, is that ok?" */ |
|
4819
3a2d064c99d1
[gaim-migrate @ 5144]
Mark Doliner <markdoliner@pidgin.im>
parents:
4804
diff
changeset
|
272 | #define AIM_CB_OFT_RESUMESOMETHING 0x0106 /* I really don't know */ |
|
4832
32a5d9c54484
[gaim-migrate @ 5157]
Mark Doliner <markdoliner@pidgin.im>
parents:
4827
diff
changeset
|
273 | #define AIM_CB_OFT_ACK 0x0202 /* "Yes, it is ok for you to send me that file" */ |
|
32a5d9c54484
[gaim-migrate @ 5157]
Mark Doliner <markdoliner@pidgin.im>
parents:
4827
diff
changeset
|
274 | #define AIM_CB_OFT_DONE 0x0204 /* "I received that file with no problems, thanks a bunch" */ |
|
32a5d9c54484
[gaim-migrate @ 5157]
Mark Doliner <markdoliner@pidgin.im>
parents:
4827
diff
changeset
|
275 | #define AIM_CB_OFT_RESUME 0x0205 /* Resume transferring, sent by whoever paused? */ |
|
4819
3a2d064c99d1
[gaim-migrate @ 5144]
Mark Doliner <markdoliner@pidgin.im>
parents:
4804
diff
changeset
|
276 | #define AIM_CB_OFT_RESUMEACK 0x0207 /* Not really sure */ |
| 2086 | 277 | |
|
4832
32a5d9c54484
[gaim-migrate @ 5157]
Mark Doliner <markdoliner@pidgin.im>
parents:
4827
diff
changeset
|
278 | #define AIM_CB_OFT_GETFILE_REQUESTLISTING 0x1108 /* "I have a listing.txt file, do you want it?" */ |
|
32a5d9c54484
[gaim-migrate @ 5157]
Mark Doliner <markdoliner@pidgin.im>
parents:
4827
diff
changeset
|
279 | #define AIM_CB_OFT_GETFILE_RECEIVELISTING 0x1209 /* "Yes, please send me your listing.txt file" */ |
|
32a5d9c54484
[gaim-migrate @ 5157]
Mark Doliner <markdoliner@pidgin.im>
parents:
4827
diff
changeset
|
280 | #define AIM_CB_OFT_GETFILE_RECEIVEDLISTING 0x120a /* received corrupt listing.txt file? */ /* I'm just guessing about this one... */ |
|
32a5d9c54484
[gaim-migrate @ 5157]
Mark Doliner <markdoliner@pidgin.im>
parents:
4827
diff
changeset
|
281 | #define AIM_CB_OFT_GETFILE_ACKLISTING 0x120b /* "I received the listing.txt file successfully" */ |
|
32a5d9c54484
[gaim-migrate @ 5157]
Mark Doliner <markdoliner@pidgin.im>
parents:
4827
diff
changeset
|
282 | #define AIM_CB_OFT_GETFILE_REQUESTFILE 0x120c /* "Please send me this file" */ |
|
4819
3a2d064c99d1
[gaim-migrate @ 5144]
Mark Doliner <markdoliner@pidgin.im>
parents:
4804
diff
changeset
|
283 | |
|
3a2d064c99d1
[gaim-migrate @ 5144]
Mark Doliner <markdoliner@pidgin.im>
parents:
4804
diff
changeset
|
284 | #define AIM_CB_OFT_ESTABLISHED 0xFFFF /* connection to buddy initiated */ |
| 2086 | 285 | |
| 286 | /* | |
| 287 | * SNAC Family: Internal Messages | |
| 288 | * | |
| 289 | * This isn't truely a SNAC family either, but using | |
| 290 | * these, we can integrated non-SNAC services into | |
| 291 | * the SNAC-centered libfaim callback structure. | |
| 292 | * | |
| 293 | */ | |
| 294 | #define AIM_CB_SPECIAL_AUTHSUCCESS 0x0001 | |
| 295 | #define AIM_CB_SPECIAL_AUTHOTHER 0x0002 | |
| 296 | #define AIM_CB_SPECIAL_CONNERR 0x0003 | |
| 297 | #define AIM_CB_SPECIAL_CONNCOMPLETE 0x0004 | |
| 298 | #define AIM_CB_SPECIAL_FLAPVER 0x0005 | |
| 2675 | 299 | #define AIM_CB_SPECIAL_CONNINITDONE 0x0006 |
|
5435
990c340ecb6d
[gaim-migrate @ 5817]
Mark Doliner <markdoliner@pidgin.im>
parents:
4832
diff
changeset
|
300 | #define AIM_CB_SPECIAL_IMAGETRANSFER 0x0007 |
|
990c340ecb6d
[gaim-migrate @ 5817]
Mark Doliner <markdoliner@pidgin.im>
parents:
4832
diff
changeset
|
301 | #define AIM_CB_SPECIAL_MSGTIMEOUT 0x0008 |
|
990c340ecb6d
[gaim-migrate @ 5817]
Mark Doliner <markdoliner@pidgin.im>
parents:
4832
diff
changeset
|
302 | #define AIM_CB_SPECIAL_CONNDEAD 0x0009 |
| 2086 | 303 | #define AIM_CB_SPECIAL_UNKNOWN 0xffff |
| 304 | #define AIM_CB_SPECIAL_DEFAULT AIM_CB_SPECIAL_UNKNOWN | |
| 305 | ||
| 3752 | 306 | /* SNAC flags */ |
| 307 | #define AIM_SNACFLAGS_DESTRUCTOR 0x0001 | |
| 2086 | 308 | |
| 309 | #endif/*__AIM_CBTYPES_H__ */ |