Mercurial > pidgin.yaz
changeset 31277:7315ec8b71c7
Add initial P2Pv2 header definition.
author | masca@cpw.pidgin.im |
---|---|
date | Sat, 03 Jul 2010 05:22:58 +0000 |
parents | f86ebed1930a |
children | df3e9c686b02 |
files | libpurple/protocols/msn/p2p.h |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/p2p.h Thu Jul 01 00:53:28 2010 +0000 +++ b/libpurple/protocols/msn/p2p.h Sat Jul 03 05:22:58 2010 +0000 @@ -17,6 +17,15 @@ } MsnP2PHeader; #pragma pack(pop) +#pragma pack(push,1) +typedef struct { + guint8 header_len; + guint8 opcode; + guint32 message_len; + guint64 base_id; +} MsnP2Pv2Header; +#pragma pack(pop) + typedef struct { guint32 value;