changeset 32007:ea3c7de5a07d

Add P2Pv2 Data Header struct.
author masca@cpw.pidgin.im
date Tue, 04 Jan 2011 04:47:57 +0000
parents fe1a13094237
children b2c25156081c
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	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. */