comparison src/protocols/msn/msn.h @ 11321:95fa774d216d

[gaim-migrate @ 13525] Kill off the conversation closed notices Fix for setting the ACK id on slpmsg ACKs which might improve things for other clients (see bug #1222320) Clean up some debugging stuff Add support for sending and receiving Nudges (Based on patch #1169352) Add an account action to go direct to a Hotmail Inbox committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 21 Aug 2005 17:14:22 +0000
parents 72a5babfa8b4
children 32287ea1fce0
comparison
equal deleted inserted replaced
11320:d3b567926e8f 11321:95fa774d216d
29 /* #define MSN_DEBUG_HTTP 1 */ 29 /* #define MSN_DEBUG_HTTP 1 */
30 30
31 /* #define MSN_DEBUG_SLP 1 */ 31 /* #define MSN_DEBUG_SLP 1 */
32 /* #define MSN_DEBUG_SLP_VERBOSE 1 */ 32 /* #define MSN_DEBUG_SLP_VERBOSE 1 */
33 /* #define MSN_DEBUG_SLP_FILES 1 */ 33 /* #define MSN_DEBUG_SLP_FILES 1 */
34
35 /* #define MSN_DEBUG_NS 1 */
36 /* #define MSN_DEBUG_SB 1 */
34 37
35 #include "internal.h" 38 #include "internal.h"
36 39
37 #include "account.h" 40 #include "account.h"
38 #include "accountopt.h" 41 #include "accountopt.h"
86 89
87 } MsnListOp; 90 } MsnListOp;
88 91
89 typedef enum 92 typedef enum
90 { 93 {
91 MSN_CLIENT_CAP_WIN_MOBILE = 0x001, 94 MSN_CLIENT_CAP_WIN_MOBILE = 0x0001,
92 MSN_CLIENT_CAP_UNKNOWN_1 = 0x002, 95 MSN_CLIENT_CAP_UNKNOWN_1 = 0x0002,
93 MSN_CLIENT_CAP_VIEW_INK = 0x004, 96 MSN_CLIENT_CAP_VIEW_INK = 0x0004,
94 MSN_CLIENT_CAP_SEND_INK = 0x008, 97 MSN_CLIENT_CAP_SEND_INK = 0x0008,
95 MSN_CLIENT_CAP_VIDEO_CHAT = 0x010, 98 MSN_CLIENT_CAP_VIDEO_CHAT = 0x0010,
96 MSN_CLIENT_CAP_BASE = 0x020, 99 MSN_CLIENT_CAP_BASE = 0x0020,
97 MSN_CLIENT_CAP_MSNMOBILE = 0x040, 100 MSN_CLIENT_CAP_MSNMOBILE = 0x0040,
98 MSN_CLIENT_CAP_MSNDIRECT = 0x080, 101 MSN_CLIENT_CAP_MSNDIRECT = 0x0080,
99 MSN_CLIENT_CAP_WEBMSGR = 0x100 102 MSN_CLIENT_CAP_WEBMSGR = 0x0100,
103 MSN_CLIENT_CAP_DIRECTIM = 0x4000,
104 MSN_CLIENT_CAP_WINKRCV = 0x8000
100 105
101 } MsnClientCaps; 106 } MsnClientCaps;
102 107
103 typedef enum 108 typedef enum
104 { 109 {
105 MSN_CLIENT_VER_5_0 = 0x00, 110 MSN_CLIENT_VER_5_0 = 0x00,
106 MSN_CLIENT_VER_6_0 = 0x10, 111 MSN_CLIENT_VER_6_0 = 0x10, /* MSNC1 */
107 MSN_CLIENT_VER_6_1 = 0x20, 112 MSN_CLIENT_VER_6_1 = 0x20, /* MSNC2 */
108 MSN_CLIENT_VER_6_2 = 0x30, 113 MSN_CLIENT_VER_6_2 = 0x30, /* MSNC3 */
109 MSN_CLIENT_VER_7_0 = 0x40 114 MSN_CLIENT_VER_7_0 = 0x40, /* MSNC4 */
115 MSN_CLIENT_VER_7_5 = 0x50 /* MSNC5 */
110 116
111 } MsnClientVerId; 117 } MsnClientVerId;
112 118
113 #define MSN_CLIENT_ID_VERSION MSN_CLIENT_VER_6_0 119 #define MSN_CLIENT_ID_VERSION MSN_CLIENT_VER_7_0
114 #define MSN_CLIENT_ID_RESERVED_1 0x00 120 #define MSN_CLIENT_ID_RESERVED_1 0x00
115 #define MSN_CLIENT_ID_RESERVED_2 0x00 121 #define MSN_CLIENT_ID_RESERVED_2 0x00
116 #define MSN_CLIENT_ID_CAPABILITIES MSN_CLIENT_CAP_BASE 122 #define MSN_CLIENT_ID_CAPABILITIES MSN_CLIENT_CAP_BASE
117 123
118 #define MSN_CLIENT_ID \ 124 #define MSN_CLIENT_ID \