pidgin: 4ede3b15: Add some more MSN client caps. Not that ...
qulogic at pidgin.im
qulogic at pidgin.im
Mon Nov 23 01:15:45 EST 2009
-----------------------------------------------------------------
Revision: 4ede3b155e9d443dcec45785cecef60b7af55de9
Ancestor: c3164aa8a77e2e8f860904f1e7384e8c9f609890
Author: qulogic at pidgin.im
Date: 2009-11-23T06:12:47
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/4ede3b155e9d443dcec45785cecef60b7af55de9
Modified files:
libpurple/protocols/msn/msn.h
ChangeLog:
Add some more MSN client caps. Not that we actually use any of them.
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/msn.h 7bd9590a0d74f6f8154ca6be6838f2fdc7348bca
+++ libpurple/protocols/msn/msn.h 7492677549e330de5d58d9dd313767941519f2ce
@@ -90,40 +90,51 @@ typedef enum
typedef enum
{
- MSN_CLIENT_CAP_WIN_MOBILE = 0x000001,
- MSN_CLIENT_CAP_INK_GIF = 0x000004,
- MSN_CLIENT_CAP_INK_ISF = 0x000008,
- MSN_CLIENT_CAP_VIDEO_CHAT = 0x000010,
- MSN_CLIENT_CAP_PACKET = 0x000020,
- MSN_CLIENT_CAP_MSNMOBILE = 0x000040,
- MSN_CLIENT_CAP_MSNDIRECT = 0x000080,
- MSN_CLIENT_CAP_WEBMSGR = 0x000200,
- MSN_CLIENT_CAP_TGW = 0x000800,
- MSN_CLIENT_CAP_SPACE = 0x001000,
- MSN_CLIENT_CAP_MCE = 0x002000,
- MSN_CLIENT_CAP_DIRECTIM = 0x004000,
- MSN_CLIENT_CAP_WINKS = 0x008000,
- MSN_CLIENT_CAP_SEARCH = 0x010000,
- MSN_CLIENT_CAP_BOT = 0x020000,
- MSN_CLIENT_CAP_VOICEIM = 0x040000,
- MSN_CLIENT_CAP_SCHANNEL = 0x080000,
- MSN_CLIENT_CAP_SIP_INVITE = 0x100000,
- MSN_CLIENT_CAP_SDRIVE = 0x400000
+ MSN_CLIENT_CAP_WIN_MOBILE = 0x0000001,
+ MSN_CLIENT_CAP_INK_GIF = 0x0000004,
+ MSN_CLIENT_CAP_INK_ISF = 0x0000008,
+ MSN_CLIENT_CAP_VIDEO_CHAT = 0x0000010,
+ MSN_CLIENT_CAP_PACKET = 0x0000020,
+ MSN_CLIENT_CAP_MSNMOBILE = 0x0000040,
+ MSN_CLIENT_CAP_MSNDIRECT = 0x0000080,
+ MSN_CLIENT_CAP_WEBMSGR = 0x0000200,
+ MSN_CLIENT_CAP_TGW = 0x0000800,
+ MSN_CLIENT_CAP_SPACE = 0x0001000,
+ MSN_CLIENT_CAP_MCE = 0x0002000,
+ MSN_CLIENT_CAP_DIRECTIM = 0x0004000,
+ MSN_CLIENT_CAP_WINKS = 0x0008000,
+ MSN_CLIENT_CAP_SEARCH = 0x0010000,
+ MSN_CLIENT_CAP_BOT = 0x0020000,
+ MSN_CLIENT_CAP_VOICEIM = 0x0040000,
+ MSN_CLIENT_CAP_SCHANNEL = 0x0080000,
+ MSN_CLIENT_CAP_SIP_INVITE = 0x0100000,
+ MSN_CLIENT_CAP_SDRIVE = 0x0400000,
+ MSN_CLIENT_CAP_ONECARE = 0x1000000,
+ MSN_CLIENT_CAP_P2P_TURN = 0x2000000,
+ MSN_CLIENT_CAP_P2P_BOOTSTRAP_VIA_UUN = 0x4000000,
} MsnClientCaps;
typedef enum
{
- MSN_CLIENT_VER_5_0 = 0x00,
- MSN_CLIENT_VER_6_0 = 0x10, /* MSNC1 */
- MSN_CLIENT_VER_6_1 = 0x20, /* MSNC2 */
- MSN_CLIENT_VER_6_2 = 0x30, /* MSNC3 */
- MSN_CLIENT_VER_7_0 = 0x40, /* MSNC4 */
- MSN_CLIENT_VER_7_5 = 0x50, /* MSNC5 */
- MSN_CLIENT_VER_8_0 = 0x60, /* MSNC6 */
- MSN_CLIENT_VER_8_1 = 0x70, /* MSNC7 */
- MSN_CLIENT_VER_8_5 = 0x80 /* MSNC8 */
+ MSN_CLIENT_EXT_CAP_RTC_VIDEO = 0x10,
+ MSN_CLIENT_EXT_CAP_P2PV2 = 0x20
+} MsnClientExtCaps;
+typedef enum
+{
+ MSN_CLIENT_VER_5_0 = 0x00,
+ MSN_CLIENT_VER_6_0 = 0x10, /* MSNC1 */
+ MSN_CLIENT_VER_6_1 = 0x20, /* MSNC2 */
+ MSN_CLIENT_VER_6_2 = 0x30, /* MSNC3 */
+ MSN_CLIENT_VER_7_0 = 0x40, /* MSNC4 */
+ MSN_CLIENT_VER_7_5 = 0x50, /* MSNC5 */
+ MSN_CLIENT_VER_8_0 = 0x60, /* MSNC6 */
+ MSN_CLIENT_VER_8_1 = 0x70, /* MSNC7 */
+ MSN_CLIENT_VER_8_5 = 0x80, /* MSNC8 */
+ MSN_CLIENT_VER_9_0 = 0x90, /* MSNC9 */
+ MSN_CLIENT_VER_14_0 = 0xA0 /* MSNC10 */
+
} MsnClientVerId;
#define MSN_CLIENT_ID_VERSION MSN_CLIENT_VER_7_0
@@ -133,6 +144,8 @@ typedef enum
((MSN_CLIENT_ID_VERSION << 24) | \
(MSN_CLIENT_ID_CAPABILITIES))
+#define MSN_CLIENT_EXT_ID 0
+
gboolean msn_email_is_valid(const char *passport);
void msn_act_id(PurpleConnection *gc, const char *entry);
void msn_send_privacy(PurpleConnection *gc);
More information about the Commits
mailing list