# HG changeset patch # User masca@cpw.pidgin.im # Date 1275469221 0 # Node ID 35771ce2db52f8d5694fe2e1f22df1df3bba1090 # Parent 230caecf54356e27c39fa7f3e2c748afef633196 Document Flag field in the Slp binary header. diff -r 230caecf5435 -r 35771ce2db52 libpurple/protocols/msn/msg.h --- 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;