Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/msn.h @ 31292:47b6eda87723
propagate from branch 'im.pidgin.pidgin' (head 07d0765c444a097af45c2650f54323afb900a07b)
to branch 'im.pidgin.soc.2010.msn-tlc' (head f3998422a4724ab424e4e2328f58fc0504856557)
author | masca@cpw.pidgin.im |
---|---|
date | Mon, 19 Jul 2010 21:11:32 +0000 |
parents | 3f2c184f24b9 |
children | d4ad06c6fd19 |
comparison
equal
deleted
inserted
replaced
30698:e874875a74a7 | 31292:47b6eda87723 |
---|---|
21 * along with this program; if not, write to the Free Software | 21 * along with this program; if not, write to the Free Software |
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA | 22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
23 */ | 23 */ |
24 #ifndef MSN_H | 24 #ifndef MSN_H |
25 #define MSN_H | 25 #define MSN_H |
26 | |
27 typedef enum | |
28 { | |
29 MSN_LIST_FL_OP = 0x01, | |
30 MSN_LIST_AL_OP = 0x02, | |
31 MSN_LIST_BL_OP = 0x04, | |
32 MSN_LIST_RL_OP = 0x08, | |
33 MSN_LIST_PL_OP = 0x10 | |
34 } MsnListOp; | |
35 #define MSN_LIST_OP_MASK 0x07 | |
36 | 26 |
37 typedef enum | 27 typedef enum |
38 { | 28 { |
39 MSN_CLIENT_CAP_WIN_MOBILE = 0x0000001, | 29 MSN_CLIENT_CAP_WIN_MOBILE = 0x0000001, |
40 MSN_CLIENT_CAP_INK_GIF = 0x0000004, | 30 MSN_CLIENT_CAP_INK_GIF = 0x0000004, |
81 MSN_CLIENT_VER_14_0 = 0xA0 /* MSNC10 */ | 71 MSN_CLIENT_VER_14_0 = 0xA0 /* MSNC10 */ |
82 } MsnClientVerId; | 72 } MsnClientVerId; |
83 | 73 |
84 #include "internal.h" | 74 #include "internal.h" |
85 | 75 |
86 #include "account.h" | 76 #include "session.h" |
87 #include "accountopt.h" | |
88 #include "blist.h" | |
89 #include "connection.h" | |
90 #include "conversation.h" | |
91 #include "debug.h" | |
92 #include "cipher.h" | |
93 #include "notify.h" | |
94 #include "privacy.h" | |
95 #include "proxy.h" | |
96 #include "prpl.h" | |
97 #include "request.h" | |
98 #include "servconn.h" | |
99 #include "sslconn.h" | |
100 #include "util.h" | |
101 | |
102 #include "ft.h" | |
103 | 77 |
104 #include "msg.h" | 78 #include "msg.h" |
105 | 79 |
106 #define MSN_BUF_LEN 8192 | 80 #define MSN_BUF_LEN 8192 |
107 | 81 |
132 "Chat-Logging: Y\r\n" | 106 "Chat-Logging: Y\r\n" |
133 | 107 |
134 /* Index into attention_types */ | 108 /* Index into attention_types */ |
135 #define MSN_NUDGE 0 | 109 #define MSN_NUDGE 0 |
136 | 110 |
137 #define MSN_CLIENT_ID_VERSION MSN_CLIENT_VER_7_0 | 111 #define MSN_CLIENT_ID_VERSION MSN_CLIENT_VER_9_0 |
138 #define MSN_CLIENT_ID_CAPABILITIES (MSN_CLIENT_CAP_PACKET|MSN_CLIENT_CAP_INK_GIF|MSN_CLIENT_CAP_VOICEIM) | 112 #define MSN_CLIENT_ID_CAPABILITIES (MSN_CLIENT_CAP_PACKET|MSN_CLIENT_CAP_INK_GIF|MSN_CLIENT_CAP_VOICEIM) |
113 #define MSN_CLIENT_ID_EXT_CAPS (0) | |
139 | 114 |
140 #define MSN_CLIENT_ID \ | 115 #define MSN_CLIENT_ID \ |
141 ((MSN_CLIENT_ID_VERSION << 24) | \ | 116 ((MSN_CLIENT_ID_VERSION << 24) | \ |
142 (MSN_CLIENT_ID_CAPABILITIES)) | 117 (MSN_CLIENT_ID_CAPABILITIES)) |
143 | 118 |
144 #define MSN_CLIENT_EXT_ID 0 | |
145 | |
146 gboolean msn_email_is_valid(const char *passport); | |
147 void | 119 void |
148 msn_set_public_alias(PurpleConnection *gc, const char *alias, | 120 msn_set_public_alias(PurpleConnection *gc, const char *alias, |
149 PurpleSetPublicAliasSuccessCallback success_cb, | 121 PurpleSetPublicAliasSuccessCallback success_cb, |
150 PurpleSetPublicAliasFailureCallback failure_cb); | 122 PurpleSetPublicAliasFailureCallback failure_cb); |
151 void msn_send_privacy(PurpleConnection *gc); | 123 void msn_send_privacy(PurpleConnection *gc); |