comparison src/protocols/oscar/aim.h @ 4151:1a5dcfa1823e

[gaim-migrate @ 4377] Why do I make these things so long? I'm defective, that's why. Mr. Walp pointed out a problem with "allow only peeps in my buddy list" for ICQ, so I fixed that. One important problem: If you set your permdeny to "allow only peeps in my buddy list," and then add or remove someone from your buddy list, it will not update the allow/deny list on the server. And that's a bad thing. I changed an error message string or 4 in oscar.c for various reasons. 1) I feel that "he/she" is much better than "it." If you disagree, please let me know, because I'm not sure of the correct phrasing. 2) There is only 1 unknown reason, it just applies to multiple messages. I shuffled some of the clientauto functions around in oscar.c to make it more uniform. I intend to look into why status messages aren't working well soon. I added some semblance of more advanced ICQ info support to libfaim. There's also a bit of support in oscar.c for it, but making it display itself nicely will take a little work, so I'll do it later. A patch from the good Mr. Blanton taking out a non-ascii character from oscar.c (my bad). A patch from the good Mr. Blanton adding support for i18n to away messages and aim profile info. Questions for the good Mr. Blanton: 1) Line 59 of info.c, in the first half of that if statement, should profile_len also be &&'ed in with the other 2? 2) I changed a gaim_parse_user_info so that it works for non-unicode away messages and profiles. Or so I think. 3) I changed little bits of your patch to appease my annoyingness, so it might not cvs update cleanly for you. Sorry. I organized the ChangeLog entries for 0.60. I tried to put stuff that I thought was more important near the top of each category. Please change stuff around, because I'm pretty sure it could be better. Breathe in, breathe out, breathe in, breathe out... Tied to a wheel... committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 29 Dec 2002 17:12:05 +0000
parents c5ce82228a2f
children b66f960bfe60
comparison
equal deleted inserted replaced
4150:1bd663beada5 4151:1a5dcfa1823e
667 faim_export int aim_nop(aim_session_t *, aim_conn_t *); 667 faim_export int aim_nop(aim_session_t *, aim_conn_t *);
668 faim_export int aim_flap_nop(aim_session_t *sess, aim_conn_t *conn); 668 faim_export int aim_flap_nop(aim_session_t *sess, aim_conn_t *conn);
669 faim_export int aim_bos_setidle(aim_session_t *, aim_conn_t *, fu32_t); 669 faim_export int aim_bos_setidle(aim_session_t *, aim_conn_t *, fu32_t);
670 faim_export int aim_bos_changevisibility(aim_session_t *, aim_conn_t *, int, const char *); 670 faim_export int aim_bos_changevisibility(aim_session_t *, aim_conn_t *, int, const char *);
671 faim_export int aim_bos_setbuddylist(aim_session_t *, aim_conn_t *, const char *); 671 faim_export int aim_bos_setbuddylist(aim_session_t *, aim_conn_t *, const char *);
672 faim_export int aim_bos_setprofile(aim_session_t *sess, aim_conn_t *conn, const char *profile, const char *awaymsg, fu32_t caps); 672 faim_export int aim_bos_setprofile(aim_session_t *sess, aim_conn_t *conn, const char *profile_encoding, const char *profile, const int profile_len, const char *awaymsg_encoding, const char *awaymsg, const int awaymsg_len, fu32_t caps);
673 faim_export int aim_bos_setgroupperm(aim_session_t *, aim_conn_t *, fu32_t mask); 673 faim_export int aim_bos_setgroupperm(aim_session_t *, aim_conn_t *, fu32_t mask);
674 faim_export int aim_bos_setprivacyflags(aim_session_t *, aim_conn_t *, fu32_t); 674 faim_export int aim_bos_setprivacyflags(aim_session_t *, aim_conn_t *, fu32_t);
675 faim_export int aim_reqpersonalinfo(aim_session_t *, aim_conn_t *); 675 faim_export int aim_reqpersonalinfo(aim_session_t *, aim_conn_t *);
676 faim_export int aim_reqservice(aim_session_t *, aim_conn_t *, fu16_t); 676 faim_export int aim_reqservice(aim_session_t *, aim_conn_t *, fu16_t);
677 faim_export int aim_bos_reqrights(aim_session_t *, aim_conn_t *); 677 faim_export int aim_bos_reqrights(aim_session_t *, aim_conn_t *);
1173 fu16_t type; 1173 fu16_t type;
1174 char *msg; 1174 char *msg;
1175 int msglen; 1175 int msglen;
1176 }; 1176 };
1177 1177
1178 struct aim_icq_simpleinfo { 1178 struct aim_icq_info {
1179 fu32_t uin; 1179 fu32_t uin;
1180 char *nick; 1180 char *nick;
1181 char *first; 1181 char *first;
1182 char *last; 1182 char *last;
1183 char *email; 1183 char *email;
1184 char *personalwebpage;
1185 char *info;
1186 char *homecity;
1187 char *homestate;
1188 char *homeaddr;
1189 char *homezip;
1190 fu16_t homecountry;
1191 char *workcity;
1192 char *workstate;
1193 char *workaddr;
1194 char *workzip;
1195 fu16_t workcountry;
1196 char *workcompany;
1197 char *workdivision;
1198 char *workposition;
1199 char *workwebpage;
1184 }; 1200 };
1185 1201
1186 faim_export int aim_icq_reqofflinemsgs(aim_session_t *sess); 1202 faim_export int aim_icq_reqofflinemsgs(aim_session_t *sess);
1187 faim_export int aim_icq_ackofflinemsgs(aim_session_t *sess); 1203 faim_export int aim_icq_ackofflinemsgs(aim_session_t *sess);
1188 faim_export int aim_icq_getsimpleinfo(aim_session_t *sess, const char *uin); 1204 faim_export int aim_icq_getsimpleinfo(aim_session_t *sess, const char *uin);
1205 faim_export int aim_icq_getallinfo(aim_session_t *sess, const char *uin);
1189 1206
1190 /* email.c */ 1207 /* email.c */
1191 struct aim_emailinfo { 1208 struct aim_emailinfo {
1192 fu8_t *cookie16; 1209 fu8_t *cookie16;
1193 fu8_t *cookie8; 1210 fu8_t *cookie8;