Ignore:
Timestamp:
2010-09-02T09:15:44Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
bae0617
Parents:
02bb9db
Message:

Replace msn*write functions with saner versions that accept format strings.
Also preparing for additional temporary NS connections (auth token renewal).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/msn.h

    r02bb9db r64768d4  
    208208
    209209/* ns.c */
     210int msn_ns_write( struct im_connection *ic, int fd, const char *fmt, ... );
    210211gboolean msn_ns_connected( gpointer data, gint source, b_input_condition cond );
    211212void msn_auth_got_passport_token( struct im_connection *ic, const char *token, const char *error );
     
    214215
    215216/* msn_util.c */
    216 int msn_write( struct im_connection *ic, char *s, int len );
    217217int msn_logged_in( struct im_connection *ic );
    218218int msn_buddy_list_add( struct im_connection *ic, msn_buddy_flags_t list, const char *who, const char *realname_, const char *group );
     
    236236
    237237/* sb.c */
    238 int msn_sb_write( struct msn_switchboard *sb, char *s, int len );
     238int msn_sb_write( struct msn_switchboard *sb, const char *fmt, ... );
    239239struct msn_switchboard *msn_sb_create( struct im_connection *ic, char *host, int port, char *key, int session );
    240240struct msn_switchboard *msn_sb_by_handle( struct im_connection *ic, char *handle );
Note: See TracChangeset for help on using the changeset viewer.