Mercurial > pidgin
annotate libfaim/faim/aim_cbtypes.h @ 331:f3c8d79688db
[gaim-migrate @ 341]
GAIM DOES ICQ!!!! CATCHING UP TO EVERYBUDDY! :)
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Sat, 03 Jun 2000 07:25:42 +0000 |
| parents | 0f14e6d8a51b |
| children | e4c34ca88d9b |
| 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 | |
| 27 #define AIM_CB_FAM_SPECIAL 0xffff /* Internal libfaim use */ | |
| 28 | |
| 29 /* | |
| 30 * SNAC Family: Ack. | |
| 31 * | |
| 32 * Not really a family, but treating it as one really | |
| 33 * helps it fit into the libfaim callback structure better. | |
| 34 * | |
| 35 */ | |
| 36 #define AIM_CB_ACK_ACK 0x0001 | |
| 37 | |
| 38 /* | |
| 39 * SNAC Family: General. | |
| 40 */ | |
| 41 #define AIM_CB_GEN_ERROR 0x0001 | |
| 42 #define AIM_CB_GEN_CLIENTREADY 0x0002 | |
| 43 #define AIM_CB_GEN_SERVERREADY 0x0003 | |
| 44 #define AIM_CB_GEN_SERVICEREQ 0x0004 | |
| 45 #define AIM_CB_GEN_REDIRECT 0x0005 | |
| 46 #define AIM_CB_GEN_RATEINFOREQ 0x0006 | |
| 47 #define AIM_CB_GEN_RATEINFO 0x0007 | |
| 48 #define AIM_CB_GEN_RATEINFOACK 0x0008 | |
| 49 #define AIM_CB_GEN_RATECHANGE 0x000a | |
| 50 #define AIM_CB_GEN_SERVERPAUSE 0x000b | |
| 51 #define AIM_CB_GEN_SERVERRESUME 0x000d | |
| 52 #define AIM_CB_GEN_REQSELFINFO 0x000e | |
| 53 #define AIM_CB_GEN_SELFINFO 0x000f | |
| 54 #define AIM_CB_GEN_EVIL 0x0010 | |
| 55 #define AIM_CB_GEN_SETIDLE 0x0011 | |
| 56 #define AIM_CB_GEN_MIGRATIONREQ 0x0012 | |
| 57 #define AIM_CB_GEN_MOTD 0x0013 | |
| 58 #define AIM_CB_GEN_SETPRIVFLAGS 0x0014 | |
| 59 #define AIM_CB_GEN_WELLKNOWNURL 0x0015 | |
| 60 #define AIM_CB_GEN_NOP 0x0016 | |
| 61 #define AIM_CB_GEN_DEFAULT 0xffff | |
| 62 | |
| 63 /* | |
| 64 * SNAC Family: Location Services. | |
| 65 */ | |
| 66 #define AIM_CB_LOC_ERROR 0x0001 | |
| 67 #define AIM_CB_LOC_REQRIGHTS 0x0002 | |
| 68 #define AIM_CB_LOC_RIGHTSINFO 0x0003 | |
| 69 #define AIM_CB_LOC_SETUSERINFO 0x0004 | |
| 70 #define AIM_CB_LOC_REQUSERINFO 0x0005 | |
| 71 #define AIM_CB_LOC_USERINFO 0x0006 | |
| 72 #define AIM_CB_LOC_WATCHERSUBREQ 0x0007 | |
| 73 #define AIM_CB_LOC_WATCHERNOT 0x0008 | |
| 74 #define AIM_CB_LOC_DEFAULT 0xffff | |
| 75 | |
| 76 /* | |
| 77 * SNAC Family: Buddy List Management Services. | |
| 78 */ | |
| 79 #define AIM_CB_BUD_ERROR 0x0001 | |
| 80 #define AIM_CB_BUD_REQRIGHTS 0x0002 | |
| 81 #define AIM_CB_BUD_RIGHTSINFO 0x0003 | |
| 82 #define AIM_CB_BUD_ADDBUDDY 0x0004 | |
| 83 #define AIM_CB_BUD_REMBUDDY 0x0005 | |
| 84 #define AIM_CB_BUD_REJECT 0x000a | |
| 85 #define AIM_CB_BUD_ONCOMING 0x000b | |
| 86 #define AIM_CB_BUD_OFFGOING 0x000c | |
| 87 #define AIM_CB_BUD_DEFAULT 0xffff | |
| 88 | |
| 89 /* | |
| 90 * SNAC Family: Messeging Services. | |
| 91 */ | |
| 92 #define AIM_CB_MSG_ERROR 0x0001 | |
| 93 #define AIM_CB_MSG_PARAMINFO 0x0005 | |
| 94 #define AIM_CB_MSG_INCOMING 0x0007 | |
| 95 #define AIM_CB_MSG_EVIL 0x0009 | |
| 96 #define AIM_CB_MSG_MISSEDCALL 0x000a | |
| 97 #define AIM_CB_MSG_CLIENTERROR 0x000b | |
| 98 #define AIM_CB_MSG_ACK 0x000c | |
| 99 #define AIM_CB_MSG_DEFAULT 0xffff | |
| 100 | |
| 101 /* | |
| 102 * SNAC Family: Advertisement Services | |
| 103 */ | |
| 104 #define AIM_CB_ADS_ERROR 0x0001 | |
| 105 #define AIM_CB_ADS_DEFAULT 0xffff | |
| 106 | |
| 107 /* | |
| 108 * SNAC Family: Invitation Services. | |
| 109 */ | |
| 110 #define AIM_CB_INV_ERROR 0x0001 | |
| 111 #define AIM_CB_INV_DEFAULT 0xffff | |
| 112 | |
| 113 /* | |
| 114 * SNAC Family: Administrative Services. | |
| 115 */ | |
| 116 #define AIM_CB_ADM_ERROR 0x0001 | |
| 117 #define AIM_CB_ADM_INFOCHANGE_REPLY 0x0005 | |
| 118 #define AIM_CB_ADM_DEFAULT 0xffff | |
| 119 | |
| 120 /* | |
| 121 * SNAC Family: Popup Messages | |
| 122 */ | |
| 123 #define AIM_CB_POP_ERROR 0x0001 | |
| 124 #define AIM_CB_POP_DEFAULT 0xffff | |
| 125 | |
| 126 /* | |
| 127 * SNAC Family: Misc BOS Services. | |
| 128 */ | |
| 129 #define AIM_CB_BOS_ERROR 0x0001 | |
| 130 #define AIM_CB_BOS_DEFAULT 0xffff | |
| 131 | |
| 132 /* | |
| 133 * SNAC Family: User Lookup Services | |
| 134 */ | |
| 135 #define AIM_CB_LOK_ERROR 0x0001 | |
| 136 #define AIM_CB_LOK_DEFAULT 0xffff | |
| 137 | |
| 138 /* | |
| 139 * SNAC Family: User Status Services | |
| 140 */ | |
| 141 #define AIM_CB_STS_ERROR 0x0001 | |
| 142 #define AIM_CB_STS_SETREPORTINTERVAL 0x0002 | |
| 143 #define AIM_CB_STS_REPORTACK 0x0004 | |
| 144 #define AIM_CB_STS_DEFAULT 0xffff | |
| 145 | |
| 146 /* | |
| 147 * SNAC Family: Translation Services | |
| 148 */ | |
| 149 #define AIM_CB_TRN_ERROR 0x0001 | |
| 150 #define AIM_CB_TRN_DEFAULT 0xffff | |
| 151 | |
| 152 /* | |
| 153 * SNAC Family: Chat Navigation Services | |
| 154 */ | |
| 155 #define AIM_CB_CTN_ERROR 0x0001 | |
| 156 #define AIM_CB_CTN_CREATE 0x0008 | |
| 157 #define AIM_CB_CTN_INFO 0x0009 | |
| 158 #define AIM_CB_CTN_DEFAULT 0xffff | |
| 159 | |
| 160 /* | |
| 161 * SNAC Family: Chat Services | |
| 162 */ | |
| 163 #define AIM_CB_CHT_ERROR 0x0001 | |
| 164 #define AIM_CB_CHT_ROOMINFOUPDATE 0x0002 | |
| 165 #define AIM_CB_CHT_USERJOIN 0x0003 | |
| 166 #define AIM_CB_CHT_USERLEAVE 0x0004 | |
| 167 #define AIM_CB_CHT_OUTGOINGMSG 0x0005 | |
| 168 #define AIM_CB_CHT_INCOMINGMSG 0x0006 | |
| 169 #define AIM_CB_CHT_DEFAULT 0xffff | |
| 170 | |
| 171 /* | |
| 172 * SNAC Family: Authorizer | |
| 173 * | |
| 174 * Used only in protocol versions three and above. | |
| 175 * | |
| 176 */ | |
| 177 #define AIM_CB_ATH_ERROR 0x0001 | |
| 178 #define AIM_CB_ATH_LOGINREQEST 0x0002 | |
| 179 #define AIM_CB_ATH_LOGINRESPONSE 0x0003 | |
| 180 #define AIM_CB_ATH_AUTHREQ 0x0006 | |
| 181 #define AIM_CB_ATH_AUTHRESPONSE 0x0007 | |
| 182 | |
| 183 /* | |
| 184 * SNAC Family: Internal Messages | |
| 185 * | |
| 186 * This isn't truely a SNAC family either, but using | |
| 187 * these, we can integrated non-SNAC services into | |
| 188 * the SNAC-centered libfaim callback structure. | |
| 189 * | |
| 190 */ | |
| 191 #define AIM_CB_SPECIAL_AUTHSUCCESS 0x0001 | |
| 192 #define AIM_CB_SPECIAL_AUTHOTHER 0x0002 | |
|
331
f3c8d79688db
[gaim-migrate @ 341]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
283
diff
changeset
|
193 #define AIM_CB_SPECIAL_CONNERR 0x0003 |
| 283 | 194 #define AIM_CB_SPECIAL_UNKNOWN 0xffff |
| 195 #define AIM_CB_SPECIAL_DEFAULT AIM_CB_SPECIAL_UNKNOWN | |
| 196 | |
| 197 | |
| 198 #endif/*__AIM_CBTYPES_H__ */ |
