comparison src/protocols/msn/msn.h @ 7590:3a48ade4f510

[gaim-migrate @ 8208] The MSNSLP stuff pretty much works. I have it disabled in this commit just in case, but I should have the rest done tonight. Also, client IDs are now sent (which was part of the problem), as are the MSNObjects (the other half of the problem). committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 22 Nov 2003 00:47:24 +0000
parents f03c0085c424
children 06f57183e29f
comparison
equal deleted inserted replaced
7589:59c1cee97cbb 7590:3a48ade4f510
35 #include "privacy.h" 35 #include "privacy.h"
36 #include "proxy.h" 36 #include "proxy.h"
37 #include "prpl.h" 37 #include "prpl.h"
38 #include "request.h" 38 #include "request.h"
39 #include "server.h" 39 #include "server.h"
40 #include "sha.h"
40 #include "sslconn.h" 41 #include "sslconn.h"
41 #include "util.h" 42 #include "util.h"
42 43
43 /* XXX */ 44 /* XXX */
44 #include "gaim.h" 45 #include "gaim.h"
81 MSN_LIST_BL_OP = 0x04, 82 MSN_LIST_BL_OP = 0x04,
82 MSN_LIST_RL_OP = 0x08 83 MSN_LIST_RL_OP = 0x08
83 84
84 } MsnListOp; 85 } MsnListOp;
85 86
87 typedef enum
88 {
89 MSN_CLIENT_CAP_WIN_MOBILE = 0x01,
90 MSN_CLIENT_CAP_UNKNOWN_1 = 0x02,
91 MSN_CLIENT_CAP_VIEW_INK = 0x04,
92 MSN_CLIENT_CAP_SEND_INK = 0x08,
93 MSN_CLIENT_CAP_VIDEO_CHAT = 0x10,
94 MSN_CLIENT_CAP_BASE = 0x20,
95 MSN_CLIENT_CAP_UNKNOWN_2 = 0x40,
96 MSN_CLIENT_CAP_UNKNOWN_3 = 0x80
97
98 } MsnClientCaps;
99
100 typedef enum
101 {
102 MSN_CLIENT_VER_5_0 = 0x00,
103 MSN_CLIENT_VER_6_0 = 0x10,
104 MSN_CLIENT_VER_6_1 = 0x20
105
106 } MsnClientVerId;
107
108 #define MSN_CLIENT_ID_VERSION MSN_CLIENT_VER_6_0
109 #define MSN_CLIENT_ID_RESERVED_1 0x00
110 #define MSN_CLIENT_ID_RESERVED_2 0x00
111 #define MSN_CLIENT_ID_CAPABILITIES (MSN_CLIENT_CAP_BASE | MSN_CLIENT_CAP_VIEW_INK)
112
113 #define MSN_CLIENT_ID \
114 ((MSN_CLIENT_ID_VERSION << 24) | \
115 (MSN_CLIENT_ID_RESERVED_1 << 16) | \
116 (MSN_CLIENT_ID_RESERVED_2 << 8) | \
117 (MSN_CLIENT_ID_CAPABILITIES))
118
86 #endif /* _MSN_H_ */ 119 #endif /* _MSN_H_ */