libpurple/protocols/msn/msg.h

branch
soc.2010.msn-tlc
changeset 30962
18730e24e68a
parent 29457
15f977c9ac76
child 30966
c9d0661c74ed
--- a/libpurple/protocols/msn/msg.h	Fri May 28 22:45:52 2010 +0000
+++ b/libpurple/protocols/msn/msg.h	Wed Jun 02 09:00:21 2010 +0000
@@ -67,6 +67,23 @@
 #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;

mercurial