Ignore:
Timestamp:
2012-09-16T00:09:58Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
f9258ae
Parents:
ddca104
Message:

MSNP18 code. It logs in now but otherwise doesn't work all too well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/msn.h

    rddca104 rbc676ac  
    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
     
    222227
    223228/* ns.c */
    224 int msn_ns_write( struct im_connection *ic, int fd, const char *fmt, ... );
     229int msn_ns_write( struct im_connection *ic, int fd, const char *fmt, ... ) G_GNUC_PRINTF( 3, 4 );
    225230gboolean msn_ns_connect( struct im_connection *ic, struct msn_handler_data *handler, const char *host, int port );
    226231void msn_ns_close( struct msn_handler_data *handler );
     
    228233void msn_auth_got_contact_list( struct im_connection *ic );
    229234int msn_ns_finish_login( struct im_connection *ic );
     235int msn_ns_sendmessage( struct im_connection *ic, struct bee_user *bu, const char *text );
     236void msn_ns_oim_send_queue( struct im_connection *ic, GSList **msgq );
    230237
    231238/* msn_util.c */
     
    250257
    251258/* sb.c */
    252 int msn_sb_write( struct msn_switchboard *sb, const char *fmt, ... );
     259int msn_sb_write( struct msn_switchboard *sb, const char *fmt, ... ) G_GNUC_PRINTF( 2, 3 );;
    253260struct msn_switchboard *msn_sb_create( struct im_connection *ic, char *host, int port, char *key, int session );
    254261struct msn_switchboard *msn_sb_by_handle( struct im_connection *ic, char *handle );
Note: See TracChangeset for help on using the changeset viewer.