Mercurial > pidgin
changeset 30759:35771ce2db52
Document Flag field in the Slp binary header.
author | masca@cpw.pidgin.im |
---|---|
date | Wed, 02 Jun 2010 09:00:21 +0000 |
parents | 230caecf5435 |
children | 9429f30001f6 |
files | libpurple/protocols/msn/msg.h |
diffstat | 1 files changed, 17 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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;