Mercurial > pidgin
comparison src/protocols/oscar/aim.h @ 4624:a964972cb361
[gaim-migrate @ 4915]
Thanks to CmdrChalumpa for a lot of this code.
Vincas: I think I've improved on your methods a bit, too.
I employed some Kiaras-Furo shading, and--
Strongbad: I'll improve on your methods!
I replied to your patch with a lil more detail.
Thanks!
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 28 Feb 2003 04:26:37 +0000 |
parents | 858979ab3867 |
children | 819ba05f5b1b |
comparison
equal
deleted
inserted
replaced
4623:a44382e8e6be | 4624:a964972cb361 |
---|---|
428 | 428 |
429 int debug; | 429 int debug; |
430 void (*debugcb)(struct aim_session_s *sess, int level, const char *format, va_list va); /* same as faim_debugging_callback_t */ | 430 void (*debugcb)(struct aim_session_s *sess, int level, const char *format, va_list va); /* same as faim_debugging_callback_t */ |
431 | 431 |
432 aim_msgcookie_t *msgcookies; | 432 aim_msgcookie_t *msgcookies; |
433 struct aim_icq_info *icq_info; | |
433 | 434 |
434 void *modlistv; | 435 void *modlistv; |
435 } aim_session_t; | 436 } aim_session_t; |
436 | 437 |
437 /* Values for sess->flags */ | 438 /* Values for sess->flags */ |
1217 faim_export int aim_ssi_setpresence(aim_session_t *sess, aim_conn_t *conn, fu32_t presence); | 1218 faim_export int aim_ssi_setpresence(aim_session_t *sess, aim_conn_t *conn, fu32_t presence); |
1218 | 1219 |
1219 | 1220 |
1220 | 1221 |
1221 /* icq.c */ | 1222 /* icq.c */ |
1223 #define AIM_ICQ_INFO_SIMPLE 0x001 | |
1224 #define AIM_ICQ_INFO_SUMMARY 0x002 | |
1225 #define AIM_ICQ_INFO_EMAIL 0x004 | |
1226 #define AIM_ICQ_INFO_PERSONAL 0x008 | |
1227 #define AIM_ICQ_INFO_ADDITIONAL 0x010 | |
1228 #define AIM_ICQ_INFO_WORK 0x020 | |
1229 #define AIM_ICQ_INFO_INTERESTS 0x040 | |
1230 #define AIM_ICQ_INFO_ORGS 0x080 | |
1231 #define AIM_ICQ_INFO_UNKNOWN 0x100 | |
1232 #define AIM_ICQ_INFO_HAVEALL 0x1ff | |
1233 | |
1222 struct aim_icq_offlinemsg { | 1234 struct aim_icq_offlinemsg { |
1223 fu32_t sender; | 1235 fu32_t sender; |
1224 fu16_t year; | 1236 fu16_t year; |
1225 fu8_t month, day, hour, minute; | 1237 fu8_t month, day, hour, minute; |
1226 fu8_t type; | 1238 fu8_t type; |
1228 char *msg; | 1240 char *msg; |
1229 int msglen; | 1241 int msglen; |
1230 }; | 1242 }; |
1231 | 1243 |
1232 struct aim_icq_info { | 1244 struct aim_icq_info { |
1245 fu16_t reqid; | |
1246 | |
1247 /* simple */ | |
1233 fu32_t uin; | 1248 fu32_t uin; |
1249 | |
1250 /* general and "home" information (0x00c8) */ | |
1234 char *nick; | 1251 char *nick; |
1235 char *first; | 1252 char *first; |
1236 char *last; | 1253 char *last; |
1237 char *email; | 1254 char *email; |
1238 char *personalwebpage; | |
1239 char *info; | |
1240 char *homecity; | 1255 char *homecity; |
1241 char *homestate; | 1256 char *homestate; |
1257 char *homephone; | |
1258 char *homefax; | |
1242 char *homeaddr; | 1259 char *homeaddr; |
1260 char *mobile; | |
1243 char *homezip; | 1261 char *homezip; |
1244 fu16_t homecountry; | 1262 fu16_t homecountry; |
1263 /* fu8_t timezone; | |
1264 fu8_t hideemail; */ | |
1265 | |
1266 /* personal (0x00dc) */ | |
1267 fu8_t age; | |
1268 fu8_t unknown; | |
1269 fu8_t gender; | |
1270 char *personalwebpage; | |
1271 fu16_t birthyear; | |
1272 fu8_t birthmonth; | |
1273 fu8_t birthday; | |
1274 fu8_t language1; | |
1275 fu8_t language2; | |
1276 fu8_t language3; | |
1277 | |
1278 /* work (0x00d2) */ | |
1245 char *workcity; | 1279 char *workcity; |
1246 char *workstate; | 1280 char *workstate; |
1281 char *workphone; | |
1282 char *workfax; | |
1247 char *workaddr; | 1283 char *workaddr; |
1248 char *workzip; | 1284 char *workzip; |
1249 fu16_t workcountry; | 1285 fu16_t workcountry; |
1250 char *workcompany; | 1286 char *workcompany; |
1251 char *workdivision; | 1287 char *workdivision; |
1252 char *workposition; | 1288 char *workposition; |
1253 char *workwebpage; | 1289 char *workwebpage; |
1290 | |
1291 /* additional personal information (0x00e6) */ | |
1292 char *info; | |
1293 | |
1294 /* email (0x00eb) */ | |
1295 fu16_t numaddresses; | |
1296 char *email2; | |
1297 | |
1298 /* we keep track of these in a linked list because we're 1337 */ | |
1299 struct aim_icq_info *next; | |
1254 }; | 1300 }; |
1255 | 1301 |
1256 faim_export int aim_icq_reqofflinemsgs(aim_session_t *sess); | 1302 faim_export int aim_icq_reqofflinemsgs(aim_session_t *sess); |
1257 faim_export int aim_icq_ackofflinemsgs(aim_session_t *sess); | 1303 faim_export int aim_icq_ackofflinemsgs(aim_session_t *sess); |
1258 faim_export int aim_icq_changepasswd(aim_session_t *sess, const char *passwd); | 1304 faim_export int aim_icq_changepasswd(aim_session_t *sess, const char *passwd); |