Mercurial > pidgin
diff src/protocols/oscar/aim.h @ 4650:4938d12f6d48
[gaim-migrate @ 4961]
This is mostly just me cleaning up some of my mess.
The one important change is... I set what is believed to
be the UTF8 capability flag for ICQ. I'm hoping this
will tell ICQ2002 and more recent that we are able to
accept UTF8 messages. Please test this and let us know
what happens.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 05 Mar 2003 05:10:47 +0000 |
parents | 440d3d870b84 |
children | 6d8a3e81db48 |
line wrap: on
line diff
--- a/src/protocols/oscar/aim.h Tue Mar 04 21:38:05 2003 +0000 +++ b/src/protocols/oscar/aim.h Wed Mar 05 05:10:47 2003 +0000 @@ -996,7 +996,8 @@ struct aim_fileheader_t fh; }; -faim_export fu32_t aim_oft_checksum(const unsigned char *buffer, int bufferlen, fu32_t prevcheck); +faim_export fu32_t aim_oft_checksum_chunk(const unsigned char *buffer, int bufferlen, fu32_t prevcheck); +faim_export fu32_t aim_oft_checksum_file(char *filename); faim_export int aim_handlerendconnect(aim_session_t *sess, aim_conn_t *cur); faim_export int aim_odc_send_typing(aim_session_t *sess, aim_conn_t *conn, int typing); faim_export int aim_odc_send_im(aim_session_t *sess, aim_conn_t *conn, const char *msg, int len, int encoding); @@ -1010,24 +1011,25 @@ /* info.c */ -#define AIM_CAPS_BUDDYICON 0x00000001 -#define AIM_CAPS_VOICE 0x00000002 -#define AIM_CAPS_IMIMAGE 0x00000004 -#define AIM_CAPS_CHAT 0x00000008 -#define AIM_CAPS_GETFILE 0x00000010 -#define AIM_CAPS_SENDFILE 0x00000020 -#define AIM_CAPS_GAMES 0x00000040 -#define AIM_CAPS_SAVESTOCKS 0x00000080 -#define AIM_CAPS_SENDBUDDYLIST 0x00000100 -#define AIM_CAPS_GAMES2 0x00000200 -#define AIM_CAPS_ICQ 0x00000400 -#define AIM_CAPS_APINFO 0x00000800 +#define AIM_CAPS_BUDDYICON 0x00000001 +#define AIM_CAPS_VOICE 0x00000002 +#define AIM_CAPS_IMIMAGE 0x00000004 +#define AIM_CAPS_CHAT 0x00000008 +#define AIM_CAPS_GETFILE 0x00000010 +#define AIM_CAPS_SENDFILE 0x00000020 +#define AIM_CAPS_GAMES 0x00000040 +#define AIM_CAPS_SAVESTOCKS 0x00000080 +#define AIM_CAPS_SENDBUDDYLIST 0x00000100 +#define AIM_CAPS_GAMES2 0x00000200 +#define AIM_CAPS_ICQ 0x00000400 +#define AIM_CAPS_APINFO 0x00000800 #define AIM_CAPS_ICQRTF 0x00001000 #define AIM_CAPS_EMPTY 0x00002000 -#define AIM_CAPS_ICQSERVERRELAY 0x00004000 -#define AIM_CAPS_ICQUNKNOWN 0x00008000 -#define AIM_CAPS_TRILLIANCRYPT 0x00010000 -#define AIM_CAPS_LAST 0x00020000 +#define AIM_CAPS_ICQSERVERRELAY 0x00004000 +#define AIM_CAPS_ICQUNKNOWN 0x00008000 +#define AIM_CAPS_TRILLIANCRYPT 0x00010000 +#define AIM_CAPS_ICQUTF8 0x00020000 +#define AIM_CAPS_LAST 0x00040000 faim_export int aim_0002_000b(aim_session_t *sess, aim_conn_t *conn, const char *sn);