soc.2010.msn-tlc: 198af878: Document Flag field in the Slp binary he...

masca at cpw.pidgin.im masca at cpw.pidgin.im
Wed Jun 2 19:15:50 EDT 2010


-----------------------------------------------------------------
Revision: 198af8787bee2b92bcad264323c6f85a3eb55700
Ancestor: 55192b889c07b53b2299abae84dcff1c6d275a3d
Author: masca at cpw.pidgin.im
Date: 2010-06-02T09:00:21
Branch: im.pidgin.soc.2010.msn-tlc
URL: http://d.pidgin.im/viewmtn/revision/info/198af8787bee2b92bcad264323c6f85a3eb55700

Modified files:
        libpurple/protocols/msn/msg.h

ChangeLog: 

Document Flag field in the Slp binary header.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/msg.h	3de3f539b888ce0bb26b84a7a8e1f0070bde3f84
+++ libpurple/protocols/msn/msg.h	b551c58fefa3a0196d0927c76741434976a16b30
@@ -67,6 +67,23 @@ typedef void (*MsnMsgCb)(MsnMessage *, v
 #define MSG_OIM_BODY_DEM	"\n\n"
 #define MSG_OIM_LINE_DEM	"\n"
 
+typedef enum
+{
+	SLP_HF_NO_FLAG         = 0x0,        /**< No flags specified */
+	SLP_HF_OUT_OF_ORDER    = 0x1,        /**< Chunk out-of-order */
+	SLP_HF_ACK             = 0x2,        /**< Acknowledgement */
+	SLP_HF_PENDING_INVITE  = 0x4,        /**< There is a pending invite */
+	SLP_HF_BINARY_ERROR    = 0x8,        /**< Error on the binary level */
+	SLP_HF_MSN_OBJ_DATA    = 0x20,       /**< MsnObject data */
+	SLP_HF_WML2009_COMP    = 0x1000000,  /**< Compatibility with WLM 2009 */
+	SLP_HF_FILE_DATA       = 0x1000030   /**< File transfer data */
+} SlpHeaderFlag;
+/* Info From:
+ * http://msnpiki.msnfanatic.com/index.php/MSNC:P2Pv1_Headers#Flags
+ * http://trac.kmess.org/changeset/ba04d0c825769d23370511031c47f6be75fe9b86
+ * #7180
+ */
+
 typedef struct
 {
 	guint32 session_id;


More information about the Commits mailing list