comparison libpurple/protocols/oscar/oscar.h @ 17236:c72295a65f7a

Fix signing on to AIM with an AOL screen name with a password of more than 8 characters. For someone AOL passwords get truncated to 8 characters. No idea why, but at least they send us a flag to let us know that the password should be truncated.
author Mark Doliner <mark@kingant.net>
date Wed, 23 May 2007 06:24:15 +0000
parents 1560f28cb854
children f80f7e1047be
comparison
equal deleted inserted replaced
17234:12d0ad970a15 17236:c72295a65f7a
272 0x0001, 0x0000, \ 272 0x0001, 0x0000, \
273 0x00000058, \ 273 0x00000058, \
274 "us", "en", \ 274 "us", "en", \
275 } 275 }
276 276
277 /*
278 * TODO: Use PURPLE_MAJOR_VERSION, PURPLE_MINOR_VERSION, and
279 * PURPLE_MICRO_VERSION? Or did that break things?
280 */
277 #define CLIENTINFO_PURPLE { \ 281 #define CLIENTINFO_PURPLE { \
278 "Purple/" VERSION, \ 282 "Purple/" VERSION, \
279 0x0109, \ 283 0x0109, \
280 0x0005, 0x0001, \ 284 0x0005, 0x0001, \
281 0x0000, 0x0bdc, \ 285 0x0000, 0x0bdc, \
572 } chat; 576 } chat;
573 }; 577 };
574 578
575 void aim_clientready(OscarData *od, FlapConnection *conn); 579 void aim_clientready(OscarData *od, FlapConnection *conn);
576 int aim_request_login(OscarData *od, FlapConnection *conn, const char *sn); 580 int aim_request_login(OscarData *od, FlapConnection *conn, const char *sn);
577 int aim_send_login(OscarData *, FlapConnection *, const char *, const char *, ClientInfo *, const char *key); 581 int aim_send_login(OscarData *od, FlapConnection *conn, const char *sn, const char *password, gboolean truncate_pass, ClientInfo *ci, const char *key);
578 /* 0x000b */ int aim_auth_securid_send(OscarData *od, const char *securid); 582 /* 0x000b */ int aim_auth_securid_send(OscarData *od, const char *securid);
579 583
580 void aim_cleansnacs(OscarData *, int maxage); 584 void aim_cleansnacs(OscarData *, int maxage);
581 585
582 void oscar_data_addhandler(OscarData *od, guint16 family, guint16 subtype, aim_rxcallback_t newhandler, guint16 flags); 586 void oscar_data_addhandler(OscarData *od, guint16 family, guint16 subtype, aim_rxcallback_t newhandler, guint16 flags);