Changes in protocols/msn/msn.h [bb839e8:c6ca3ee]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/msn.h
rbb839e8 rc6ca3ee 24 24 */ 25 25 26 #ifndef _MSN_H27 #define _MSN_H28 29 26 /* Some hackish magicstrings to make special-purpose messages/switchboards. 30 27 */ 31 28 #define TYPING_NOTIFICATION_MESSAGE "\r\r\rBEWARE, ME R TYPINK MESSAGE!!!!\r\r\r" 32 29 #define GROUPCHAT_SWITCHBOARD_MESSAGE "\r\r\rME WANT TALK TO MANY PEOPLE\r\r\r" 33 #define SB_KEEPALIVE_MESSAGE "\r\r\rDONT HANG UP ON ME!\r\r\r"34 30 35 31 #ifdef DEBUG_MSN … … 54 50 "TypingUser: %s\r\n" \ 55 51 "\r\n\r\n" 56 57 #define SB_KEEPALIVE_HEADERS "MIME-Version: 1.0\r\n" \58 "Content-Type: text/x-ping\r\n" \59 "\r\n\r\n"60 52 61 53 #define PROFILE_URL "http://members.msn.com/" … … 88 80 gint inp; 89 81 struct msn_handler_data *handler; 90 gint keepalive;91 82 92 83 int trId; … … 103 94 struct msn_away_state 104 95 { 96 int number; 105 97 char code[4]; 106 98 char name[16]; … … 184 176 void msn_sb_destroy( struct msn_switchboard *sb ); 185 177 gboolean msn_sb_connected( gpointer data, gint source, b_input_condition cond ); 186 int msn_sb_write_msg( struct im_connection *ic, struct msn_message *m );187 void msn_sb_start_keepalives( struct msn_switchboard *sb, gboolean initial );188 void msn_sb_stop_keepalives( struct msn_switchboard *sb );189 190 #endif //_MSN_H
Note: See TracChangeset
for help on using the changeset viewer.