Changes in protocols/msn/msn.h [9b0ad7e:79bb7e4]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/msn.h
r9b0ad7e r79bb7e4 2 2 * BitlBee -- An IRC to other IM-networks gateway * 3 3 * * 4 * Copyright 2002-201 0Wilmer van der Gaast and others *4 * Copyright 2002-2012 Wilmer van der Gaast and others * 5 5 \********************************************************************/ 6 6 … … 53 53 */ 54 54 55 /* <= BitlBee 3.0.5 55 56 #define MSNP11_PROD_KEY "ILTXC!4IXB5FB*PX" 56 57 #define MSNP11_PROD_ID "PROD0119GSJUC$18" 57 #define MSNP_VER "MSNP15" 58 #define MSNP_BUILD "8.5.1288" 58 */ 59 60 #define MSNP11_PROD_KEY "C1BX{V4W}Q3*10SM" 61 #define MSNP11_PROD_ID "PROD0120PW!CCV9@" 62 #define MSNP_VER "MSNP18" 63 #define MSNP_BUILD "14.0.8117.416" 59 64 60 65 #define MSN_SB_NEW -24062002 66 67 #define MSN_CAP1 0xC000 68 #define MSN_CAP2 0x0000 61 69 62 70 #define MSN_MESSAGE_HEADERS "MIME-Version: 1.0\r\n" \ … … 118 126 char *tokens[4]; 119 127 char *lock_key, *pp_policy; 128 char *uuid; 120 129 121 130 GSList *msgq, *grpq, *soapq; … … 222 231 223 232 /* ns.c */ 224 int msn_ns_write( struct im_connection *ic, int fd, const char *fmt, ... ) ;233 int msn_ns_write( struct im_connection *ic, int fd, const char *fmt, ... ) G_GNUC_PRINTF( 3, 4 ); 225 234 gboolean msn_ns_connect( struct im_connection *ic, struct msn_handler_data *handler, const char *host, int port ); 226 235 void msn_ns_close( struct msn_handler_data *handler ); … … 228 237 void msn_auth_got_contact_list( struct im_connection *ic ); 229 238 int msn_ns_finish_login( struct im_connection *ic ); 239 int msn_ns_sendmessage( struct im_connection *ic, struct bee_user *bu, const char *text ); 240 void msn_ns_oim_send_queue( struct im_connection *ic, GSList **msgq ); 230 241 231 242 /* msn_util.c */ … … 242 253 struct msn_group *msn_group_by_id( struct im_connection *ic, const char *id ); 243 254 int msn_ns_set_display_name( struct im_connection *ic, const char *value ); 255 const char *msn_normalize_handle( const char *handle ); 244 256 245 257 /* tables.c */ … … 250 262 251 263 /* sb.c */ 252 int msn_sb_write( struct msn_switchboard *sb, const char *fmt, ... ) ;264 int msn_sb_write( struct msn_switchboard *sb, const char *fmt, ... ) G_GNUC_PRINTF( 2, 3 );; 253 265 struct msn_switchboard *msn_sb_create( struct im_connection *ic, char *host, int port, char *key, int session ); 254 struct msn_switchboard *msn_sb_by_handle( struct im_connection *ic, c har *handle );266 struct msn_switchboard *msn_sb_by_handle( struct im_connection *ic, const char *handle ); 255 267 struct msn_switchboard *msn_sb_by_chat( struct groupchat *c ); 256 268 struct msn_switchboard *msn_sb_spare( struct im_connection *ic );
Note: See TracChangeset
for help on using the changeset viewer.