diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-04-10 02:05:39 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-04-10 02:05:39 +0100 |
commit | bb839e8ae5b6228f9dcd8dda96b4e3ac5c0f63ba (patch) | |
tree | 009de5eb7fa9e3e495ab0b3f13b97eee9b0d9ac8 /protocols/msn/msn.h | |
parent | 9bf248155cb870be9dce921d58c905f5a5c1dad3 (diff) |
Be more clever with keepalives; detect when a switchboard is opened with
someone who's offline already. Still a hack but it eases the pain a little
bit.
Diffstat (limited to 'protocols/msn/msn.h')
-rw-r--r-- | protocols/msn/msn.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/msn/msn.h b/protocols/msn/msn.h index 68ca32f8..61101546 100644 --- a/protocols/msn/msn.h +++ b/protocols/msn/msn.h @@ -184,6 +184,7 @@ struct groupchat *msn_sb_to_chat( struct msn_switchboard *sb ); void msn_sb_destroy( struct msn_switchboard *sb ); gboolean msn_sb_connected( gpointer data, gint source, b_input_condition cond ); int msn_sb_write_msg( struct im_connection *ic, struct msn_message *m ); -gboolean msn_sb_keepalive( gpointer data, gint source, b_input_condition cond ); +void msn_sb_start_keepalives( struct msn_switchboard *sb, gboolean initial ); +void msn_sb_stop_keepalives( struct msn_switchboard *sb ); #endif //_MSN_H |