Changes in protocols/msn/msn.h [99fe030:951aefd]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/msn.h
r99fe030 r951aefd 27 27 #define _MSN_H 28 28 29 /* Some hackish magicstrings to make special-purpose messages/switchboards. 30 */ 31 #define TYPING_NOTIFICATION_MESSAGE "\r\r\rBEWARE, ME R TYPINK MESSAGE!!!!\r\r\r" 32 #define NUDGE_MESSAGE "\r\r\rSHAKE THAT THING\r\r\r" 33 #define GROUPCHAT_SWITCHBOARD_MESSAGE "\r\r\rME WANT TALK TO MANY PEOPLE\r\r\r" 34 35 #ifdef DEBUG_MSN 36 #define debug(text ...) imcb_log(ic, text); 37 #else 38 #define debug(text ...) 39 #endif 40 29 41 /* This should be MSN Messenger 7.0.0813 30 42 #define MSNP11_PROD_KEY "CFHUR$52U_{VIX5T" … … 65 77 #define MSN_MESSAGE_HEADERS MSN_BASE_HEADERS \ 66 78 "Messaging: 2.0\r\n" \ 67 "Message-Type: %s\r\n" \79 "Message-Type: Text\r\n" \ 68 80 "Content-Length: %zd\r\n" \ 69 81 "Content-Type: text/plain; charset=UTF-8\r\n" \ … … 91 103 "</user>" 92 104 105 #define MSN_TYPING_HEADERS "MIME-Version: 1.0\r\n" \ 106 "Content-Type: text/x-msmsgscontrol\r\n" \ 107 "TypingUser: %s\r\n" \ 108 "\r\n\r\n" 109 110 #define MSN_NUDGE_HEADERS "MIME-Version: 1.0\r\n" \ 111 "Content-Type: text/x-msnmsgr-datacast\r\n" \ 112 "\r\n" \ 113 "ID: 1\r\n" \ 114 "\r\n" 115 93 116 #define PROFILE_URL "http://members.msn.com/" 94 117 … … 219 242 void msn_auth_got_contact_list(struct im_connection *ic); 220 243 int msn_ns_finish_login(struct im_connection *ic); 221 int msn_ns_send_typing(struct im_connection *ic, struct bee_user *bu); 222 int msn_ns_send_message(struct im_connection *ic, struct bee_user *bu, const char *text); 244 int msn_ns_sendmessage(struct im_connection *ic, struct bee_user *bu, const char *text); 223 245 int msn_ns_command(struct msn_data *md, char **cmd, int num_parts); 224 246 int msn_ns_message(struct msn_data *md, char *msg, int msglen, char **cmd, int num_parts);
Note: See TracChangeset
for help on using the changeset viewer.