Mercurial > pidgin
annotate libfaim/faim/aim_cbtypes.h @ 1094:3deadbe50737
[gaim-migrate @ 1104]
making make distcheck work
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Tue, 14 Nov 2000 10:34:10 +0000 |
| parents | efcacae6acdb |
| children | 4c5c2fcb83cd |
| rev | line source |
|---|---|
| 283 | 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 */ | |
| 26 #define AIM_CB_FAM_ATH 0x0017 | |
|
503
6e318907bcce
[gaim-migrate @ 513]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
445
diff
changeset
|
27 #define AIM_CB_FAM_OFT 0xfffe /* OFT/Rvous */ |
| 283 | 28 #define AIM_CB_FAM_SPECIAL 0xffff /* Internal libfaim use */ |
| 29 | |
| 30 /* | |
| 31 * SNAC Family: Ack. | |
| 32 * | |
| 33 * Not really a family, but treating it as one really | |
| 34 * helps it fit into the libfaim callback structure better. | |
| 35 * | |
| 36 */ | |
| 37 #define AIM_CB_ACK_ACK 0x0001 | |
| 38 | |
| 39 /* | |
| 40 * SNAC Family: General. | |
| 41 */ | |
| 42 #define AIM_CB_GEN_ERROR 0x0001 | |
| 43 #define AIM_CB_GEN_CLIENTREADY 0x0002 | |
| 44 #define AIM_CB_GEN_SERVERREADY 0x0003 | |
| 45 #define AIM_CB_GEN_SERVICEREQ 0x0004 | |
| 46 #define AIM_CB_GEN_REDIRECT 0x0005 | |
| 47 #define AIM_CB_GEN_RATEINFOREQ 0x0006 | |
| 48 #define AIM_CB_GEN_RATEINFO 0x0007 | |
| 49 #define AIM_CB_GEN_RATEINFOACK 0x0008 | |
| 50 #define AIM_CB_GEN_RATECHANGE 0x000a | |
| 51 #define AIM_CB_GEN_SERVERPAUSE 0x000b | |
| 52 #define AIM_CB_GEN_SERVERRESUME 0x000d | |
| 53 #define AIM_CB_GEN_REQSELFINFO 0x000e | |
| 54 #define AIM_CB_GEN_SELFINFO 0x000f | |
| 55 #define AIM_CB_GEN_EVIL 0x0010 | |
| 56 #define AIM_CB_GEN_SETIDLE 0x0011 | |
| 57 #define AIM_CB_GEN_MIGRATIONREQ 0x0012 | |
| 58 #define AIM_CB_GEN_MOTD 0x0013 | |
| 59 #define AIM_CB_GEN_SETPRIVFLAGS 0x0014 | |
| 60 #define AIM_CB_GEN_WELLKNOWNURL 0x0015 | |
| 61 #define AIM_CB_GEN_NOP 0x0016 | |
| 62 #define AIM_CB_GEN_DEFAULT 0xffff | |
| 63 | |
| 64 /* | |
| 65 * SNAC Family: Location Services. | |
| 66 */ | |
| 67 #define AIM_CB_LOC_ERROR 0x0001 | |
| 68 #define AIM_CB_LOC_REQRIGHTS 0x0002 | |
| 69 #define AIM_CB_LOC_RIGHTSINFO 0x0003 | |
| 70 #define AIM_CB_LOC_SETUSERINFO 0x0004 | |
| 71 #define AIM_CB_LOC_REQUSERINFO 0x0005 | |
| 72 #define AIM_CB_LOC_USERINFO 0x0006 | |
| 73 #define AIM_CB_LOC_WATCHERSUBREQ 0x0007 | |
| 74 #define AIM_CB_LOC_WATCHERNOT 0x0008 | |
| 75 #define AIM_CB_LOC_DEFAULT 0xffff | |
| 76 | |
| 77 /* | |
| 78 * SNAC Family: Buddy List Management Services. | |
| 79 */ | |
| 80 #define AIM_CB_BUD_ERROR 0x0001 | |
| 81 #define AIM_CB_BUD_REQRIGHTS 0x0002 | |
| 82 #define AIM_CB_BUD_RIGHTSINFO 0x0003 | |
| 83 #define AIM_CB_BUD_ADDBUDDY 0x0004 | |
| 84 #define AIM_CB_BUD_REMBUDDY 0x0005 | |
| 85 #define AIM_CB_BUD_REJECT 0x000a | |
| 86 #define AIM_CB_BUD_ONCOMING 0x000b | |
| 87 #define AIM_CB_BUD_OFFGOING 0x000c | |
| 88 #define AIM_CB_BUD_DEFAULT 0xffff | |
| 89 | |
| 90 /* | |
| 91 * SNAC Family: Messeging Services. | |
| 92 */ | |
| 93 #define AIM_CB_MSG_ERROR 0x0001 | |
| 94 #define AIM_CB_MSG_PARAMINFO 0x0005 | |
| 95 #define AIM_CB_MSG_INCOMING 0x0007 | |
| 96 #define AIM_CB_MSG_EVIL 0x0009 | |
| 97 #define AIM_CB_MSG_MISSEDCALL 0x000a | |
| 98 #define AIM_CB_MSG_CLIENTERROR 0x000b | |
| 99 #define AIM_CB_MSG_ACK 0x000c | |
| 100 #define AIM_CB_MSG_DEFAULT 0xffff | |
| 101 | |
| 102 /* | |
| 103 * SNAC Family: Advertisement Services | |
| 104 */ | |
| 105 #define AIM_CB_ADS_ERROR 0x0001 | |
| 106 #define AIM_CB_ADS_DEFAULT 0xffff | |
| 107 | |
| 108 /* | |
| 109 * SNAC Family: Invitation Services. | |
| 110 */ | |
| 111 #define AIM_CB_INV_ERROR 0x0001 | |
| 112 #define AIM_CB_INV_DEFAULT 0xffff | |
| 113 | |
| 114 /* | |
| 115 * SNAC Family: Administrative Services. | |
| 116 */ | |
| 117 #define AIM_CB_ADM_ERROR 0x0001 | |
| 118 #define AIM_CB_ADM_INFOCHANGE_REPLY 0x0005 | |
| 119 #define AIM_CB_ADM_DEFAULT 0xffff | |
| 120 | |
| 121 /* | |
| 122 * SNAC Family: Popup Messages | |
| 123 */ | |
| 124 #define AIM_CB_POP_ERROR 0x0001 | |
| 125 #define AIM_CB_POP_DEFAULT 0xffff | |
| 126 | |
| 127 /* | |
| 128 * SNAC Family: Misc BOS Services. | |
| 129 */ | |
| 130 #define AIM_CB_BOS_ERROR 0x0001 | |
| 131 #define AIM_CB_BOS_DEFAULT 0xffff | |
| 132 | |
| 133 /* | |
| 134 * SNAC Family: User Lookup Services | |
| 135 */ | |
| 136 #define AIM_CB_LOK_ERROR 0x0001 | |
| 137 #define AIM_CB_LOK_DEFAULT 0xffff | |
| 138 | |
| 139 /* | |
| 140 * SNAC Family: User Status Services | |
| 141 */ | |
| 142 #define AIM_CB_STS_ERROR 0x0001 | |
| 143 #define AIM_CB_STS_SETREPORTINTERVAL 0x0002 | |
| 144 #define AIM_CB_STS_REPORTACK 0x0004 | |
| 145 #define AIM_CB_STS_DEFAULT 0xffff | |
| 146 | |
| 147 /* | |
| 148 * SNAC Family: Translation Services | |
| 149 */ | |
| 150 #define AIM_CB_TRN_ERROR 0x0001 | |
| 151 #define AIM_CB_TRN_DEFAULT 0xffff | |
| 152 | |
| 153 /* | |
| 154 * SNAC Family: Chat Navigation Services | |
| 155 */ | |
| 156 #define AIM_CB_CTN_ERROR 0x0001 | |
| 157 #define AIM_CB_CTN_CREATE 0x0008 | |
| 158 #define AIM_CB_CTN_INFO 0x0009 | |
| 159 #define AIM_CB_CTN_DEFAULT 0xffff | |
| 160 | |
| 161 /* | |
| 162 * SNAC Family: Chat Services | |
| 163 */ | |
| 164 #define AIM_CB_CHT_ERROR 0x0001 | |
| 165 #define AIM_CB_CHT_ROOMINFOUPDATE 0x0002 | |
| 166 #define AIM_CB_CHT_USERJOIN 0x0003 | |
| 167 #define AIM_CB_CHT_USERLEAVE 0x0004 | |
| 168 #define AIM_CB_CHT_OUTGOINGMSG 0x0005 | |
| 169 #define AIM_CB_CHT_INCOMINGMSG 0x0006 | |
| 170 #define AIM_CB_CHT_DEFAULT 0xffff | |
| 171 | |
| 172 /* | |
| 173 * SNAC Family: Authorizer | |
| 174 * | |
| 175 * Used only in protocol versions three and above. | |
| 176 * | |
| 177 */ | |
| 178 #define AIM_CB_ATH_ERROR 0x0001 | |
| 179 #define AIM_CB_ATH_LOGINREQEST 0x0002 | |
| 180 #define AIM_CB_ATH_LOGINRESPONSE 0x0003 | |
| 181 #define AIM_CB_ATH_AUTHREQ 0x0006 | |
| 182 #define AIM_CB_ATH_AUTHRESPONSE 0x0007 | |
| 183 | |
| 184 /* | |
|
503
6e318907bcce
[gaim-migrate @ 513]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
445
diff
changeset
|
185 * OFT Services |
|
6e318907bcce
[gaim-migrate @ 513]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
445
diff
changeset
|
186 * |
|
6e318907bcce
[gaim-migrate @ 513]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
445
diff
changeset
|
187 * See non-SNAC note below. |
|
6e318907bcce
[gaim-migrate @ 513]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
445
diff
changeset
|
188 */ |
|
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
503
diff
changeset
|
189 #define AIM_CB_OFT_DIRECTIMCONNECTREQ 0x0001/* connect request -- actually an OSCAR CAP*/ |
|
503
6e318907bcce
[gaim-migrate @ 513]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
445
diff
changeset
|
190 #define AIM_CB_OFT_DIRECTIMINCOMING 0x0002 |
|
6e318907bcce
[gaim-migrate @ 513]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
445
diff
changeset
|
191 #define AIM_CB_OFT_DIRECTIMDISCONNECT 0x0003 |
|
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
503
diff
changeset
|
192 #define AIM_CB_OFT_DIRECTIMTYPING 0x0004 |
|
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
503
diff
changeset
|
193 #define AIM_CB_OFT_DIRECTIMINITIATE 0x0005 |
|
503
6e318907bcce
[gaim-migrate @ 513]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
445
diff
changeset
|
194 |
|
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
503
diff
changeset
|
195 #define AIM_CB_OFT_GETFILECONNECTREQ 0x0006 /* connect request -- actually an OSCAR CAP*/ |
|
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
503
diff
changeset
|
196 #define AIM_CB_OFT_GETFILEFILEREQ 0x0007 /* recieved file request */ |
|
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
503
diff
changeset
|
197 #define AIM_CB_OFT_GETFILEFILESEND 0x0008 /* recieved file request confirm -- send data */ |
|
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
503
diff
changeset
|
198 #define AIM_CB_OFT_GETFILECOMPLETE 0x0009 /* recieved file send complete*/ |
|
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
503
diff
changeset
|
199 #define AIM_CB_OFT_GETFILEINITIATE 0x000a /* request for file get acknowledge */ |
|
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
503
diff
changeset
|
200 #define AIM_CB_OFT_GETFILEDISCONNECT 0x000b /* OFT connection disconnected.*/ |
|
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
503
diff
changeset
|
201 |
|
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
503
diff
changeset
|
202 #define AIM_CB_OFT_SENDFILEDISCONNECT 0x000c /* OFT connection disconnected.*/ |
|
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
503
diff
changeset
|
203 |
|
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
503
diff
changeset
|
204 |
|
503
6e318907bcce
[gaim-migrate @ 513]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
445
diff
changeset
|
205 |
|
6e318907bcce
[gaim-migrate @ 513]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
445
diff
changeset
|
206 /* |
| 283 | 207 * SNAC Family: Internal Messages |
| 208 * | |
| 209 * This isn't truely a SNAC family either, but using | |
| 210 * these, we can integrated non-SNAC services into | |
| 211 * the SNAC-centered libfaim callback structure. | |
| 212 * | |
| 213 */ | |
| 214 #define AIM_CB_SPECIAL_AUTHSUCCESS 0x0001 | |
| 215 #define AIM_CB_SPECIAL_AUTHOTHER 0x0002 | |
|
331
f3c8d79688db
[gaim-migrate @ 341]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
283
diff
changeset
|
216 #define AIM_CB_SPECIAL_CONNERR 0x0003 |
|
1081
efcacae6acdb
[gaim-migrate @ 1091]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
960
diff
changeset
|
217 #define AIM_CB_SPECIAL_CONNCOMPLETE 0x0004 |
|
efcacae6acdb
[gaim-migrate @ 1091]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
960
diff
changeset
|
218 #define AIM_CB_SPECIAL_FLAPVER 0x0005 |
|
445
e4c34ca88d9b
[gaim-migrate @ 455]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
331
diff
changeset
|
219 #define AIM_CB_SPECIAL_DEBUGCONN_CONNECT 0xe001 |
| 283 | 220 #define AIM_CB_SPECIAL_UNKNOWN 0xffff |
| 221 #define AIM_CB_SPECIAL_DEFAULT AIM_CB_SPECIAL_UNKNOWN | |
| 222 | |
| 223 | |
| 224 #endif/*__AIM_CBTYPES_H__ */ |
