5 #ifndef __AIM_CBTYPES_H__
6 #define __AIM_CBTYPES_H__
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_SPECIAL 0xffff /* Internal libfaim use */
31 * Not really a family, but treating it as one really
32 * helps it fit into the libfaim callback structure better.
35 #define AIM_CB_ACK_ACK 0x0001
38 * SNAC Family: General.
40 #define AIM_CB_GEN_ERROR 0x0001
41 #define AIM_CB_GEN_CLIENTREADY 0x0002
42 #define AIM_CB_GEN_SERVERREADY 0x0003
43 #define AIM_CB_GEN_SERVICEREQ 0x0004
44 #define AIM_CB_GEN_REDIRECT 0x0005
45 #define AIM_CB_GEN_RATEINFOREQ 0x0006
46 #define AIM_CB_GEN_RATEINFO 0x0007
47 #define AIM_CB_GEN_RATEINFOACK 0x0008
48 #define AIM_CB_GEN_RATECHANGE 0x000a
49 #define AIM_CB_GEN_SERVERPAUSE 0x000b
50 #define AIM_CB_GEN_SERVERRESUME 0x000d
51 #define AIM_CB_GEN_REQSELFINFO 0x000e
52 #define AIM_CB_GEN_SELFINFO 0x000f
53 #define AIM_CB_GEN_EVIL 0x0010
54 #define AIM_CB_GEN_SETIDLE 0x0011
55 #define AIM_CB_GEN_MIGRATIONREQ 0x0012
56 #define AIM_CB_GEN_MOTD 0x0013
57 #define AIM_CB_GEN_SETPRIVFLAGS 0x0014
58 #define AIM_CB_GEN_WELLKNOWNURL 0x0015
59 #define AIM_CB_GEN_NOP 0x0016
60 #define AIM_CB_GEN_DEFAULT 0xffff
63 * SNAC Family: Location Services.
65 #define AIM_CB_LOC_ERROR 0x0001
66 #define AIM_CB_LOC_REQRIGHTS 0x0002
67 #define AIM_CB_LOC_RIGHTSINFO 0x0003
68 #define AIM_CB_LOC_SETUSERINFO 0x0004
69 #define AIM_CB_LOC_REQUSERINFO 0x0005
70 #define AIM_CB_LOC_USERINFO 0x0006
71 #define AIM_CB_LOC_WATCHERSUBREQ 0x0007
72 #define AIM_CB_LOC_WATCHERNOT 0x0008
73 #define AIM_CB_LOC_DEFAULT 0xffff
76 * SNAC Family: Buddy List Management Services.
78 #define AIM_CB_BUD_ERROR 0x0001
79 #define AIM_CB_BUD_REQRIGHTS 0x0002
80 #define AIM_CB_BUD_RIGHTSINFO 0x0003
81 #define AIM_CB_BUD_ADDBUDDY 0x0004
82 #define AIM_CB_BUD_REMBUDDY 0x0005
83 #define AIM_CB_BUD_REJECT 0x000a
84 #define AIM_CB_BUD_ONCOMING 0x000b
85 #define AIM_CB_BUD_OFFGOING 0x000c
86 #define AIM_CB_BUD_DEFAULT 0xffff
89 * SNAC Family: Messeging Services.
91 #define AIM_CB_MSG_ERROR 0x0001
92 #define AIM_CB_MSG_PARAMINFO 0x0005
93 #define AIM_CB_MSG_INCOMING 0x0007
94 #define AIM_CB_MSG_EVIL 0x0009
95 #define AIM_CB_MSG_MISSEDCALL 0x000a
96 #define AIM_CB_MSG_CLIENTERROR 0x000b
97 #define AIM_CB_MSG_ACK 0x000c
98 #define AIM_CB_MSG_DEFAULT 0xffff
101 * SNAC Family: Advertisement Services
103 #define AIM_CB_ADS_ERROR 0x0001
104 #define AIM_CB_ADS_DEFAULT 0xffff
107 * SNAC Family: Invitation Services.
109 #define AIM_CB_INV_ERROR 0x0001
110 #define AIM_CB_INV_DEFAULT 0xffff
113 * SNAC Family: Administrative Services.
115 #define AIM_CB_ADM_ERROR 0x0001
116 #define AIM_CB_ADM_INFOCHANGE_REPLY 0x0005
117 #define AIM_CB_ADM_DEFAULT 0xffff
120 * SNAC Family: Popup Messages
122 #define AIM_CB_POP_ERROR 0x0001
123 #define AIM_CB_POP_DEFAULT 0xffff
126 * SNAC Family: Misc BOS Services.
128 #define AIM_CB_BOS_ERROR 0x0001
129 #define AIM_CB_BOS_DEFAULT 0xffff
132 * SNAC Family: User Lookup Services
134 #define AIM_CB_LOK_ERROR 0x0001
135 #define AIM_CB_LOK_DEFAULT 0xffff
138 * SNAC Family: User Status Services
140 #define AIM_CB_STS_ERROR 0x0001
141 #define AIM_CB_STS_SETREPORTINTERVAL 0x0002
142 #define AIM_CB_STS_REPORTACK 0x0004
143 #define AIM_CB_STS_DEFAULT 0xffff
146 * SNAC Family: Translation Services
148 #define AIM_CB_TRN_ERROR 0x0001
149 #define AIM_CB_TRN_DEFAULT 0xffff
152 * SNAC Family: Chat Navigation Services
154 #define AIM_CB_CTN_ERROR 0x0001
155 #define AIM_CB_CTN_DEFAULT 0xffff
158 * SNAC Family: Chat Services
160 #define AIM_CB_CHT_ERROR 0x0001
161 #define AIM_CB_CHT_DEFAULT 0xffff
164 * SNAC Family: Internal Messages
166 * This isn't truely a SNAC family either, but using
167 * these, we can integrated non-SNAC services into
168 * the SNAC-centered libfaim callback structure.
171 #define AIM_CB_SPECIAL_AUTHSUCCESS 0x0001
172 #define AIM_CB_SPECIAL_AUTHOTHER 0x0002
173 #define AIM_CB_SPECIAL_UNKNOWN 0xffff
174 #define AIM_CB_SPECIAL_DEFAULT AIM_CB_SPECIAL_UNKNOWN
177 #endif/*__AIM_CBTYPES_H__ */