changeset 32008:b2c25156081c

Add TLV and data fields to P2Pv2 Header.
author masca@cpw.pidgin.im
date Tue, 04 Jan 2011 04:51:48 +0000
parents ea3c7de5a07d
children f021d93a1f9b
files libpurple/protocols/msn/p2p.h
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/p2p.h	Tue Jan 04 04:47:57 2011 +0000
+++ b/libpurple/protocols/msn/p2p.h	Tue Jan 04 04:51:48 2011 +0000
@@ -53,6 +53,8 @@
 	guint8  opcode;
 	guint16 message_len;
 	guint32 base_id;
+	GSList 	*tlv;
+	char 	*data;
 } MsnP2Pv2Header;
 
 typedef struct {
@@ -60,7 +62,7 @@
 	guint8 		TF; 			/**< Type-First combination */
 	guint16 	package_num;
 	guint32 	session;
-	GSList 		tlv;
+	GSList 		*tlv;
 	char 		*data;
 } MsnP2Pv2DataHeader;