Mercurial > pidgin.yaz
comparison libpurple/protocols/mxit/protocol.h @ 32819:930820b18a8d
MXit is increasing the limit on the size of files that can be transferred.
author | andrew.victor@mxit.com |
---|---|
date | Wed, 02 Nov 2011 09:51:48 +0000 |
parents | 82ca1b879265 |
children |
comparison
equal
deleted
inserted
replaced
32813:03efb97b552b | 32819:930820b18a8d |
---|---|
32 #define CP_HTTP_REC_TERM '\x26' /* http record terminator '&' */ | 32 #define CP_HTTP_REC_TERM '\x26' /* http record terminator '&' */ |
33 #define CP_FLD_TERM '\x01' /* field terminator */ | 33 #define CP_FLD_TERM '\x01' /* field terminator */ |
34 #define CP_PKT_TERM '\x02' /* packet terminator */ | 34 #define CP_PKT_TERM '\x02' /* packet terminator */ |
35 | 35 |
36 | 36 |
37 #define CP_MAX_PACKET ( 1024 * 1024 ) /* maximum client protocol packet size (1 MiB) */ | 37 #define CP_MAX_PACKET ( 1 * 1000 * 1000 ) /* maximum client protocol packet size (1 MB) */ |
38 #define CP_MAX_FILESIZE ( 150 * 1000 ) /* maximum client protocol file transfer size (150 KB) */ | |
39 #define MXIT_EMOTICON_SIZE 18 /* icon size for custom emoticons */ | 38 #define MXIT_EMOTICON_SIZE 18 /* icon size for custom emoticons */ |
40 #define CP_MAX_STATUS_MSG 250 /* maximum status message length (in characters) */ | 39 #define CP_MAX_STATUS_MSG 250 /* maximum status message length (in characters) */ |
41 | 40 |
42 /* Avatars */ | 41 /* Avatars */ |
43 #define MXIT_AVATAR_SIZE 96 /* default avatar image size 96x96 */ | 42 #define MXIT_AVATAR_SIZE 96 /* default avatar image size 96x96 */ |
75 #define MXIT_CF_NO_AVATARS 0x200000 | 74 #define MXIT_CF_NO_AVATARS 0x200000 |
76 #define MXIT_CF_GAMING 0x400000 | 75 #define MXIT_CF_GAMING 0x400000 |
77 #define MXIT_CF_GAMING_UPDATE 0x800000 | 76 #define MXIT_CF_GAMING_UPDATE 0x800000 |
78 #define MXIT_CF_VOICE 0x1000000 | 77 #define MXIT_CF_VOICE 0x1000000 |
79 #define MXIT_CF_VIDEO 0x2000000 | 78 #define MXIT_CF_VIDEO 0x2000000 |
79 #define MXIT_CF_TOUCHSCREEN 0x4000000 | |
80 | 80 |
81 /* Client features supported by this implementation */ | 81 /* Client features supported by this implementation */ |
82 #define MXIT_CP_FEATURES ( MXIT_CF_FILE_TRANSFER | MXIT_CF_FILE_ACCESS | MXIT_CF_AUDIO | MXIT_CF_MARKUP | MXIT_CF_EXT_MARKUP | MXIT_CF_NO_GATEWAYS | MXIT_CF_IMAGES | MXIT_CF_COMMANDS | MXIT_CF_VIBES | MXIT_CF_MIDP2 ) | 82 #define MXIT_CP_FEATURES ( MXIT_CF_FILE_TRANSFER | MXIT_CF_FILE_ACCESS | MXIT_CF_AUDIO | MXIT_CF_MARKUP | MXIT_CF_EXT_MARKUP | MXIT_CF_NO_GATEWAYS | MXIT_CF_IMAGES | MXIT_CF_COMMANDS | MXIT_CF_VIBES | MXIT_CF_MIDP2 ) |
83 | 83 |
84 | 84 |