Mercurial > pidgin
comparison src/protocols/oscar/aim.h @ 8092:697221d5d0ff
[gaim-migrate @ 8791]
Give a nice little warning if you add an AIM or ICQ buddy with an invalid
name. I'm thinking some of those bug reports on SF about "Could not add
buddy with no name" are caused by this. Hopefully. Sometime before the
next release I'll probably actually remove invalid people from the local
list.
Also recognize the WinAIM Video and Camera caps.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 13 Jan 2004 05:44:37 +0000 |
parents | 0a0be07f066a |
children | 862dc2839646 |
comparison
equal
deleted
inserted
replaced
8091:56b74730715f | 8092:697221d5d0ff |
---|---|
1011 | 1011 |
1012 struct aim_userinfo_s *next; | 1012 struct aim_userinfo_s *next; |
1013 } aim_userinfo_t; | 1013 } aim_userinfo_t; |
1014 | 1014 |
1015 #define AIM_CAPS_BUDDYICON 0x00000001 | 1015 #define AIM_CAPS_BUDDYICON 0x00000001 |
1016 #define AIM_CAPS_VOICE 0x00000002 | 1016 #define AIM_CAPS_TALK 0x00000002 |
1017 #define AIM_CAPS_DIRECTIM 0x00000004 | 1017 #define AIM_CAPS_DIRECTIM 0x00000004 |
1018 #define AIM_CAPS_CHAT 0x00000008 | 1018 #define AIM_CAPS_CHAT 0x00000008 |
1019 #define AIM_CAPS_GETFILE 0x00000010 | 1019 #define AIM_CAPS_GETFILE 0x00000010 |
1020 #define AIM_CAPS_SENDFILE 0x00000020 | 1020 #define AIM_CAPS_SENDFILE 0x00000020 |
1021 #define AIM_CAPS_GAMES 0x00000040 | 1021 #define AIM_CAPS_GAMES 0x00000040 |
1022 #define AIM_CAPS_SAVESTOCKS 0x00000080 | 1022 #define AIM_CAPS_ADDINS 0x00000080 |
1023 #define AIM_CAPS_SENDBUDDYLIST 0x00000100 | 1023 #define AIM_CAPS_SENDBUDDYLIST 0x00000100 |
1024 #define AIM_CAPS_GAMES2 0x00000200 | 1024 #define AIM_CAPS_GAMES2 0x00000200 |
1025 #define AIM_CAPS_ICQ_DIRECT 0x00000400 | 1025 #define AIM_CAPS_ICQ_DIRECT 0x00000400 |
1026 #define AIM_CAPS_APINFO 0x00000800 | 1026 #define AIM_CAPS_APINFO 0x00000800 |
1027 #define AIM_CAPS_ICQRTF 0x00001000 | 1027 #define AIM_CAPS_ICQRTF 0x00001000 |
1036 #define AIM_CAPS_SECUREIM 0x00200000 | 1036 #define AIM_CAPS_SECUREIM 0x00200000 |
1037 #define AIM_CAPS_SMS 0x00400000 | 1037 #define AIM_CAPS_SMS 0x00400000 |
1038 #define AIM_CAPS_GENERICUNKNOWN 0x00800000 | 1038 #define AIM_CAPS_GENERICUNKNOWN 0x00800000 |
1039 #define AIM_CAPS_VIDEO 0x01000000 | 1039 #define AIM_CAPS_VIDEO 0x01000000 |
1040 #define AIM_CAPS_ICHATAV 0x02000000 | 1040 #define AIM_CAPS_ICHATAV 0x02000000 |
1041 #define AIM_CAPS_LAST 0x04000000 | 1041 #define AIM_CAPS_LIVEVIDEO 0x04000000 |
1042 #define AIM_CAPS_CAMERA 0x08000000 | |
1043 #define AIM_CAPS_LAST 0x10000000 | |
1042 | 1044 |
1043 #define AIM_SENDMEMBLOCK_FLAG_ISREQUEST 0 | 1045 #define AIM_SENDMEMBLOCK_FLAG_ISREQUEST 0 |
1044 #define AIM_SENDMEMBLOCK_FLAG_ISHASH 1 | 1046 #define AIM_SENDMEMBLOCK_FLAG_ISHASH 1 |
1045 | 1047 |
1046 faim_export int aim_sendmemblock(aim_session_t *sess, aim_conn_t *conn, fu32_t offset, fu32_t len, const fu8_t *buf, fu8_t flag); | 1048 faim_export int aim_sendmemblock(aim_session_t *sess, aim_conn_t *conn, fu32_t offset, fu32_t len, const fu8_t *buf, fu8_t flag); |
1470 faim_export int aim_util_getlocalip(fu8_t *ip); | 1472 faim_export int aim_util_getlocalip(fu8_t *ip); |
1471 faim_export int aimutil_tokslen(char *toSearch, int theindex, char dl); | 1473 faim_export int aimutil_tokslen(char *toSearch, int theindex, char dl); |
1472 faim_export int aimutil_itemcnt(char *toSearch, char dl); | 1474 faim_export int aimutil_itemcnt(char *toSearch, char dl); |
1473 faim_export char *aimutil_itemindex(char *toSearch, int theindex, char dl); | 1475 faim_export char *aimutil_itemindex(char *toSearch, int theindex, char dl); |
1474 | 1476 |
1477 faim_export int aim_snvalid(const char *sn); | |
1475 faim_export int aim_snlen(const char *sn); | 1478 faim_export int aim_snlen(const char *sn); |
1476 faim_export int aim_sncmp(const char *sn1, const char *sn2); | 1479 faim_export int aim_sncmp(const char *sn1, const char *sn2); |
1477 | 1480 |
1478 #include <aim_internal.h> | 1481 #include <aim_internal.h> |
1479 | 1482 |