Mercurial > pidgin
comparison src/protocols/oscar/aim.h @ 7045:237ad253dd34
[gaim-migrate @ 7608]
This should fix SimGuy's problem and maybe the problem Luke had
earlier. I don't know what I was thinking with the static variables.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 30 Sep 2003 01:32:29 +0000 |
parents | db041f206848 |
children | 7b31e3e22f59 |
comparison
equal
deleted
inserted
replaced
7044:c889aee7bd95 | 7045:237ad253dd34 |
---|---|
441 | 441 |
442 aim_msgcookie_t *msgcookies; | 442 aim_msgcookie_t *msgcookies; |
443 struct aim_icq_info *icq_info; | 443 struct aim_icq_info *icq_info; |
444 struct aim_oft_info *oft_info; | 444 struct aim_oft_info *oft_info; |
445 struct aim_authresp_info *authinfo; | 445 struct aim_authresp_info *authinfo; |
446 struct aim_emailinfo *emailinfo; | |
447 | |
448 struct { | |
449 struct aim_userinfo_s *userinfo; | |
450 struct userinfo_node *request_queue; | |
451 int waiting_for_response; | |
452 } locate; | |
446 | 453 |
447 /* Server-stored information (ssi) */ | 454 /* Server-stored information (ssi) */ |
448 struct { | 455 struct { |
449 int received_data; | 456 int received_data; |
450 fu16_t numitems; | 457 fu16_t numitems; |
959 #define AIM_USERINFO_PRESENT_ICQDATA 0x00000040 | 966 #define AIM_USERINFO_PRESENT_ICQDATA 0x00000040 |
960 #define AIM_USERINFO_PRESENT_CAPABILITIES 0x00000080 | 967 #define AIM_USERINFO_PRESENT_CAPABILITIES 0x00000080 |
961 #define AIM_USERINFO_PRESENT_SESSIONLEN 0x00000100 | 968 #define AIM_USERINFO_PRESENT_SESSIONLEN 0x00000100 |
962 #define AIM_USERINFO_PRESENT_CREATETIME 0x00000200 | 969 #define AIM_USERINFO_PRESENT_CREATETIME 0x00000200 |
963 | 970 |
971 struct userinfo_node { | |
972 char *sn; | |
973 struct userinfo_node *next; | |
974 }; | |
975 | |
964 typedef struct aim_userinfo_s { | 976 typedef struct aim_userinfo_s { |
965 char *sn; | 977 char *sn; |
966 fu16_t warnlevel; /* evil percent * 10 (999 = 99.9%) */ | 978 fu16_t warnlevel; /* evil percent * 10 (999 = 99.9%) */ |
967 fu16_t idletime; /* in seconds */ | 979 fu16_t idletime; /* in seconds */ |
968 fu16_t flags; | 980 fu16_t flags; |
1051 #define AIM_COOKIETYPE_OFTSEND 0x12 | 1063 #define AIM_COOKIETYPE_OFTSEND 0x12 |
1052 #define AIM_COOKIETYPE_OFTVOICE 0x13 | 1064 #define AIM_COOKIETYPE_OFTVOICE 0x13 |
1053 #define AIM_COOKIETYPE_OFTIMAGE 0x14 | 1065 #define AIM_COOKIETYPE_OFTIMAGE 0x14 |
1054 #define AIM_COOKIETYPE_OFTICON 0x15 | 1066 #define AIM_COOKIETYPE_OFTICON 0x15 |
1055 | 1067 |
1056 faim_export aim_userinfo_t *aim_locate_finduserinfo(const char *sn); | 1068 faim_export aim_userinfo_t *aim_locate_finduserinfo(aim_session_t *sess, const char *sn); |
1057 | 1069 |
1058 /* 0x0002 */ faim_export int aim_locate_reqrights(aim_session_t *sess); | 1070 /* 0x0002 */ faim_export int aim_locate_reqrights(aim_session_t *sess); |
1059 /* 0x0004 */ faim_export int aim_locate_setprofile(aim_session_t *sess, 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); | 1071 /* 0x0004 */ faim_export int aim_locate_setprofile(aim_session_t *sess, 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); |
1060 /* 0x0005 */ faim_export int aim_locate_getinfo(aim_session_t *sess, const char *, fu16_t); | 1072 /* 0x0005 */ faim_export int aim_locate_getinfo(aim_session_t *sess, const char *, fu16_t); |
1061 /* 0x0009 */ faim_export int aim_locate_setdirinfo(aim_session_t *sess, const char *first, const char *middle, const char *last, const char *maiden, const char *nickname, const char *street, const char *city, const char *state, const char *zip, int country, fu16_t privacy); | 1073 /* 0x0009 */ faim_export int aim_locate_setdirinfo(aim_session_t *sess, const char *first, const char *middle, const char *last, const char *maiden, const char *nickname, const char *street, const char *city, const char *state, const char *zip, int country, fu16_t privacy); |