Mercurial > pidgin.yaz
comparison src/protocols/oscar/aim.h @ 3458:66b1ad9782a9
[gaim-migrate @ 3506]
From KingAnt:
aim.h:
-Change the #defines for AIM client info so they're shorter.
-Add 2 #defines for ICQ--the first one (the default) is what Gaim
has been using, it was taken out of auth.c. The other is what an
ICQ 2002a client uses.
-Add an CLIENTINFO_ICQ_KNOWNGOOD
auth.c:
-Have the ICQ login use the given client info, rather than
using hard coded values.
oscar.c:
-Rename "gaim_caps" to "caps_aim" and added a "caps_icq," so
AIM and ICQ can have different capabilities.
-Make changes to gaim_parse_login so the ICQ sends ICQ client
info, and AIM sends AIM client info.
-Make changes to conninitdone_bos so only ICQ sets the privacy
flag and visibility mask. AIM sets this via SSI.
-Change a few calls to aim_bos_setprofile so ICQ does not
send a profile TLV, and so ICQ uses the ICQ caps and AIM uses
the AIM caps.
-Change a call to g_show_info_text so a pointer to the window
is not left haning around?
-Correctly set the occupied and do not disturb ICQ states.
This is how winicq does it.
-Correctly show winicq users as NA.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 28 Aug 2002 06:48:14 +0000 |
parents | dd34e0b40fed |
children | d82f53194f09 |
comparison
equal
deleted
inserted
replaced
3457:222e23f91092 | 3458:66b1ad9782a9 |
---|---|
144 int build; | 144 int build; |
145 const char *country; /* two-letter abbrev */ | 145 const char *country; /* two-letter abbrev */ |
146 const char *lang; /* two-letter abbrev */ | 146 const char *lang; /* two-letter abbrev */ |
147 }; | 147 }; |
148 | 148 |
149 #define AIM_CLIENTINFO_KNOWNGOOD_3_5_1670 { \ | 149 #define CLIENTINFO_AIM_3_5_1670 { \ |
150 "AOL Instant Messenger (SM), version 3.5.1670/WIN32", \ | 150 "AOL Instant Messenger (SM), version 3.5.1670/WIN32", \ |
151 0x0004, \ | 151 0x0004, \ |
152 0x0003, \ | 152 0x0003, \ |
153 0x0005, \ | 153 0x0005, \ |
154 0x0000, \ | 154 0x0000, \ |
155 0x0686, \ | 155 0x0686, \ |
156 "us", \ | 156 "us", \ |
157 "en", \ | 157 "en", \ |
158 } | 158 } |
159 | 159 |
160 #define AIM_CLIENTINFO_KNOWNGOOD_4_1_2010 { \ | 160 #define CLIENTINFO_AIM_4_1_2010 { \ |
161 "AOL Instant Messenger (SM), version 4.1.2010/WIN32", \ | 161 "AOL Instant Messenger (SM), version 4.1.2010/WIN32", \ |
162 0x0004, \ | 162 0x0004, \ |
163 0x0004, \ | 163 0x0004, \ |
164 0x0001, \ | 164 0x0001, \ |
165 0x0000, \ | 165 0x0000, \ |
166 0x07da, \ | 166 0x07da, \ |
167 "us", \ | 167 "us", \ |
168 "en", \ | 168 "en", \ |
169 } | 169 } |
170 | 170 |
171 #define CLIENTINFO_ICQ_4_65_3281 { \ | |
172 "ICQ Inc. - Product of ICQ (TM) 2000b.4.65.1.3281.85", \ | |
173 0x010a, \ | |
174 0x0004, \ | |
175 0x0041, \ | |
176 0x0001, \ | |
177 0x0cd1, \ | |
178 "us", \ | |
179 "en", \ | |
180 } | |
181 | |
182 #define CLIENTINFO_ICQ_5_34_3728 { \ | |
183 "ICQ Inc. - Product of ICQ (TM).2002a.5.34.1.3728.85", \ | |
184 0x010a, \ | |
185 0x0005, \ | |
186 0x0022, \ | |
187 0x0001, \ | |
188 0x0e8f, \ | |
189 "us", \ | |
190 "en", \ | |
191 } | |
192 | |
171 /* | 193 /* |
172 * I would make 4.1.2010 the default, but they seem to have found | 194 * I would make 4.1.2010 the default, but they seem to have found |
173 * an alternate way of breaking that one. | 195 * an alternate way of breaking that one. |
174 * | 196 * |
175 * 3.5.1670 should work fine, however, you will be subjected to the | 197 * 3.5.1670 should work fine, however, you will be subjected to the |
176 * memory test, which may require you to have a WinAIM binary laying | 198 * memory test, which may require you to have a WinAIM binary lying |
177 * around. (see login.c::memrequest()) | 199 * around. (see login.c::memrequest()) |
178 */ | 200 */ |
179 #define AIM_CLIENTINFO_KNOWNGOOD AIM_CLIENTINFO_KNOWNGOOD_3_5_1670 | 201 #define CLIENTINFO_AIM_KNOWNGOOD CLIENTINFO_AIM_3_5_1670 |
202 #define CLIENTINFO_ICQ_KNOWNGOOD CLIENTINFO_ICQ_4_65_3281 | |
180 | 203 |
181 #ifndef TRUE | 204 #ifndef TRUE |
182 #define TRUE 1 | 205 #define TRUE 1 |
183 #define FALSE 0 | 206 #define FALSE 0 |
184 #endif | 207 #endif |