# HG changeset patch # User masca@cpw.pidgin.im # Date 1294116477 0 # Node ID ea3c7de5a07de05a89528f3f89e69cfdb4f6392c # Parent fe1a1309423782196b220be60ed123064f2c2c39 Add P2Pv2 Data Header struct. diff -r fe1a13094237 -r ea3c7de5a07d libpurple/protocols/msn/p2p.h --- a/libpurple/protocols/msn/p2p.h Tue Jan 04 04:29:36 2011 +0000 +++ b/libpurple/protocols/msn/p2p.h Tue Jan 04 04:47:57 2011 +0000 @@ -55,6 +55,15 @@ guint32 base_id; } MsnP2Pv2Header; +typedef struct { + guint8 length; + guint8 TF; /**< Type-First combination */ + guint16 package_num; + guint32 session; + GSList tlv; + char *data; +} MsnP2Pv2DataHeader; + typedef enum { OP_NONE = 0x00, /**< None, Nothing required. */