Mercurial > pidgin.yaz
diff libpurple/protocols/msn/xfer.h @ 32750:f0b5a6f8fded
Add support for file context v0, which is used by older official MSN
clients on Macs.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 16 Oct 2011 00:15:40 +0000 |
parents | 845885bd5e4d |
children |
line wrap: on
line diff
--- a/libpurple/protocols/msn/xfer.h Sun Oct 16 00:03:52 2011 +0000 +++ b/libpurple/protocols/msn/xfer.h Sun Oct 16 00:15:40 2011 +0000 @@ -47,7 +47,9 @@ gsize preview_len; } MsnFileContext; -#define MSN_FILE_CONTEXT_SIZE (4*4 + 1*8 + 2*MAX_FILE_NAME_LEN + 30) +#define MSN_FILE_CONTEXT_SIZE_V0 (4*3 + 1*8 + 2*MAX_FILE_NAME_LEN) +#define MSN_FILE_CONTEXT_SIZE_V2 (MSN_FILE_CONTEXT_SIZE_V0 + 4*1 + 30) +#define MSN_FILE_CONTEXT_SIZE_V3 (MSN_FILE_CONTEXT_SIZE_V2 + 63) void msn_xfer_init(PurpleXfer *xfer); void msn_xfer_cancel(PurpleXfer *xfer);