Changes in protocols/msn/msn.h [c6ca3ee:bb839e8]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/msn.h
rc6ca3ee rbb839e8 24 24 */ 25 25 26 #ifndef _MSN_H 27 #define _MSN_H 28 26 29 /* Some hackish magicstrings to make special-purpose messages/switchboards. 27 30 */ 28 31 #define TYPING_NOTIFICATION_MESSAGE "\r\r\rBEWARE, ME R TYPINK MESSAGE!!!!\r\r\r" 29 32 #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" 30 34 31 35 #ifdef DEBUG_MSN … … 50 54 "TypingUser: %s\r\n" \ 51 55 "\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" 52 60 53 61 #define PROFILE_URL "http://members.msn.com/" … … 80 88 gint inp; 81 89 struct msn_handler_data *handler; 90 gint keepalive; 82 91 83 92 int trId; … … 94 103 struct msn_away_state 95 104 { 96 int number;97 105 char code[4]; 98 106 char name[16]; … … 176 184 void msn_sb_destroy( struct msn_switchboard *sb ); 177 185 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.