Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/msn.h

    r9b0ad7e r79bb7e4  
    22  * BitlBee -- An IRC to other IM-networks gateway                     *
    33  *                                                                    *
    4   * Copyright 2002-2010 Wilmer van der Gaast and others                *
     4  * Copyright 2002-2012 Wilmer van der Gaast and others                *
    55  \********************************************************************/
    66
     
    5353*/
    5454
     55/* <= BitlBee 3.0.5
    5556#define MSNP11_PROD_KEY "ILTXC!4IXB5FB*PX"
    5657#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"
    5964
    6065#define MSN_SB_NEW         -24062002
     66
     67#define MSN_CAP1        0xC000
     68#define MSN_CAP2        0x0000
    6169
    6270#define MSN_MESSAGE_HEADERS "MIME-Version: 1.0\r\n" \
     
    118126        char *tokens[4];
    119127        char *lock_key, *pp_policy;
     128        char *uuid;
    120129       
    121130        GSList *msgq, *grpq, *soapq;
     
    222231
    223232/* ns.c */
    224 int msn_ns_write( struct im_connection *ic, int fd, const char *fmt, ... );
     233int msn_ns_write( struct im_connection *ic, int fd, const char *fmt, ... ) G_GNUC_PRINTF( 3, 4 );
    225234gboolean msn_ns_connect( struct im_connection *ic, struct msn_handler_data *handler, const char *host, int port );
    226235void msn_ns_close( struct msn_handler_data *handler );
     
    228237void msn_auth_got_contact_list( struct im_connection *ic );
    229238int msn_ns_finish_login( struct im_connection *ic );
     239int msn_ns_sendmessage( struct im_connection *ic, struct bee_user *bu, const char *text );
     240void msn_ns_oim_send_queue( struct im_connection *ic, GSList **msgq );
    230241
    231242/* msn_util.c */
     
    242253struct msn_group *msn_group_by_id( struct im_connection *ic, const char *id );
    243254int msn_ns_set_display_name( struct im_connection *ic, const char *value );
     255const char *msn_normalize_handle( const char *handle );
    244256
    245257/* tables.c */
     
    250262
    251263/* sb.c */
    252 int msn_sb_write( struct msn_switchboard *sb, const char *fmt, ... );
     264int msn_sb_write( struct msn_switchboard *sb, const char *fmt, ... ) G_GNUC_PRINTF( 2, 3 );;
    253265struct 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, char *handle );
     266struct msn_switchboard *msn_sb_by_handle( struct im_connection *ic, const char *handle );
    255267struct msn_switchboard *msn_sb_by_chat( struct groupchat *c );
    256268struct msn_switchboard *msn_sb_spare( struct im_connection *ic );
Note: See TracChangeset for help on using the changeset viewer.