Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/msn.h

    r79bb7e4 r9b0ad7e  
    22  * BitlBee -- An IRC to other IM-networks gateway                     *
    33  *                                                                    *
    4   * Copyright 2002-2012 Wilmer van der Gaast and others                *
     4  * Copyright 2002-2010 Wilmer van der Gaast and others                *
    55  \********************************************************************/
    66
     
    5353*/
    5454
    55 /* <= BitlBee 3.0.5
    5655#define MSNP11_PROD_KEY "ILTXC!4IXB5FB*PX"
    5756#define MSNP11_PROD_ID  "PROD0119GSJUC$18"
    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"
     57#define MSNP_VER        "MSNP15"
     58#define MSNP_BUILD      "8.5.1288"
    6459
    6560#define MSN_SB_NEW         -24062002
    66 
    67 #define MSN_CAP1        0xC000
    68 #define MSN_CAP2        0x0000
    6961
    7062#define MSN_MESSAGE_HEADERS "MIME-Version: 1.0\r\n" \
     
    126118        char *tokens[4];
    127119        char *lock_key, *pp_policy;
    128         char *uuid;
    129120       
    130121        GSList *msgq, *grpq, *soapq;
     
    231222
    232223/* ns.c */
    233 int msn_ns_write( struct im_connection *ic, int fd, const char *fmt, ... ) G_GNUC_PRINTF( 3, 4 );
     224int msn_ns_write( struct im_connection *ic, int fd, const char *fmt, ... );
    234225gboolean msn_ns_connect( struct im_connection *ic, struct msn_handler_data *handler, const char *host, int port );
    235226void msn_ns_close( struct msn_handler_data *handler );
     
    237228void msn_auth_got_contact_list( struct im_connection *ic );
    238229int 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 );
    241230
    242231/* msn_util.c */
     
    253242struct msn_group *msn_group_by_id( struct im_connection *ic, const char *id );
    254243int msn_ns_set_display_name( struct im_connection *ic, const char *value );
    255 const char *msn_normalize_handle( const char *handle );
    256244
    257245/* tables.c */
     
    262250
    263251/* sb.c */
    264 int msn_sb_write( struct msn_switchboard *sb, const char *fmt, ... ) G_GNUC_PRINTF( 2, 3 );;
     252int msn_sb_write( struct msn_switchboard *sb, const char *fmt, ... );
    265253struct msn_switchboard *msn_sb_create( struct im_connection *ic, char *host, int port, char *key, int session );
    266 struct msn_switchboard *msn_sb_by_handle( struct im_connection *ic, const char *handle );
     254struct msn_switchboard *msn_sb_by_handle( struct im_connection *ic, char *handle );
    267255struct msn_switchboard *msn_sb_by_chat( struct groupchat *c );
    268256struct msn_switchboard *msn_sb_spare( struct im_connection *ic );
Note: See TracChangeset for help on using the changeset viewer.