cpw.masca.p2p: 62fc63e4: Add P2Pv2 Data Header struct.

masca at cpw.pidgin.im masca at cpw.pidgin.im
Tue Jan 4 01:50:53 EST 2011


----------------------------------------------------------------------
Revision: 62fc63e4de21f2e13043e41f9db3126fb060654b
Parent:   83f1948ed6996728c1c63d9ab3c896dfd399b808
Author:   masca at cpw.pidgin.im
Date:     01/03/11 23:47:57
Branch:   im.pidgin.cpw.masca.p2p
URL: http://d.pidgin.im/viewmtn/revision/info/62fc63e4de21f2e13043e41f9db3126fb060654b

Changelog: 

Add P2Pv2 Data Header struct.

Changes against parent 83f1948ed6996728c1c63d9ab3c896dfd399b808

  patched  libpurple/protocols/msn/p2p.h

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/p2p.h	dc297f764da63dd9885fa7e4e5853304dfa04faf
+++ libpurple/protocols/msn/p2p.h	a480cb3fcb47d4461b981c2346beb5c5755d367d
@@ -55,6 +55,15 @@ typedef struct {
 	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. */


More information about the Commits mailing list