comparison libpurple/protocols/msn/msn.h @ 19797:60bc06498746

Committing khc's msnp14 changes from Trac Ticket #148. --rlaager committer: Richard Laager <rlaager@wiktel.com>
author Ka-Hing Cheung <khc@hxbc.us>
date Sun, 15 Apr 2007 04:12:27 +0000
parents 32c366eeeb99
children 6f986caeab59
comparison
equal deleted inserted replaced
16121:6167ee79ecd0 19797:60bc06498746
60 #define USEROPT_MSNSERVER 3 60 #define USEROPT_MSNSERVER 3
61 #define MSN_SERVER "messenger.hotmail.com" 61 #define MSN_SERVER "messenger.hotmail.com"
62 #define USEROPT_MSNPORT 4 62 #define USEROPT_MSNPORT 4
63 #define MSN_PORT 1863 63 #define MSN_PORT 1863
64 64
65 /* Windows Live Messenger Server*/
66 #define WLM_SERVER "muser.messenger.hotmail.com"
67 #define WLM_PORT 1863
68 #define WLM_PROT_VER 13
69 /*This MSNP14 Support chat with Yahoo Messenger*/
70 #define WLM_YAHOO_PROT_VER 14
71
72 #define WLM_MAX_PROTOCOL 14
73 #define WLM_MIN_PROTOCOL 13
74
65 #define MSN_TYPING_RECV_TIMEOUT 6 75 #define MSN_TYPING_RECV_TIMEOUT 6
66 #define MSN_TYPING_SEND_TIMEOUT 4 76 #define MSN_TYPING_SEND_TIMEOUT 4
67 77
68 #define HOTMAIL_URL "http://www.hotmail.com/cgi-bin/folders" 78 #define HOTMAIL_URL "http://www.hotmail.com/cgi-bin/folders"
69 #define PASSPORT_URL "http://lc1.law13.hotmail.passport.com/cgi-bin/dologin?login=" 79 #define PASSPORT_URL "http://lc1.law13.hotmail.passport.com/cgi-bin/dologin?login="
70 #define PROFILE_URL "http://spaces.msn.com/profile.aspx?mem=" 80 /*#define PROFILE_URL "http://spaces.msn.com/profile.aspx?mem="*/
81 #define PROFILE_URL "http://spaces.live.com/profile.aspx?mem="
82 #define PHOTO_URL " contactparams:photopreauthurl=\""
71 83
72 #define USEROPT_HOTMAIL 0 84 #define USEROPT_HOTMAIL 0
73 85
74 #define BUDDY_ALIAS_MAXLEN 387 86 #define BUDDY_ALIAS_MAXLEN 387
75 87
86 MSN_LIST_AL_OP = 0x02, 98 MSN_LIST_AL_OP = 0x02,
87 MSN_LIST_BL_OP = 0x04, 99 MSN_LIST_BL_OP = 0x04,
88 MSN_LIST_RL_OP = 0x08 100 MSN_LIST_RL_OP = 0x08
89 101
90 } MsnListOp; 102 } MsnListOp;
103 #define MSN_LIST_OP_MASK 0x07
91 104
92 typedef enum 105 typedef enum
93 { 106 {
94 MSN_CLIENT_CAP_WIN_MOBILE = 0x00001, 107 MSN_CLIENT_CAP_WIN_MOBILE = 0x00001,
95 MSN_CLIENT_CAP_UNKNOWN_1 = 0x00002, 108 MSN_CLIENT_CAP_UNKNOWN_1 = 0x00002,
126 ((MSN_CLIENT_ID_VERSION << 24) | \ 139 ((MSN_CLIENT_ID_VERSION << 24) | \
127 (MSN_CLIENT_ID_RESERVED_1 << 16) | \ 140 (MSN_CLIENT_ID_RESERVED_1 << 16) | \
128 (MSN_CLIENT_ID_RESERVED_2 << 8) | \ 141 (MSN_CLIENT_ID_RESERVED_2 << 8) | \
129 (MSN_CLIENT_ID_CAPABILITIES)) 142 (MSN_CLIENT_ID_CAPABILITIES))
130 143
144 void msn_act_id(PurpleConnection *gc, const char *entry);
145
146
131 #endif /* _MSN_H_ */ 147 #endif /* _MSN_H_ */