diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-07-10 16:08:02 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-07-10 16:08:02 +0100 |
commit | f1c2b21af3a51796b747ca4dbc2cdec9611efc5d (patch) | |
tree | 067321e4a5c3073e5a9da44a8215a89ebd33bb1d /irc.h | |
parent | 534e4069e0cfa8aee82f82603dc3ca05562a85dd (diff) |
Cleanup. Move some code to a more appropriate location, and show the old
connection a quit message instead of just breaking the connection.
Diffstat (limited to 'irc.h')
-rw-r--r-- | irc.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -229,6 +229,11 @@ void irc_write( irc_t *irc, char *format, ... ) G_GNUC_PRINTF( 2, 3 ); void irc_write_all( int now, char *format, ... ) G_GNUC_PRINTF( 2, 3 ); void irc_vawrite( irc_t *irc, char *format, va_list params ); +void irc_flush( irc_t *irc ); +void irc_switch_fd( irc_t *irc, int fd ); +void irc_sync( irc_t *irc ); +void irc_desync( irc_t *irc ); + int irc_check_login( irc_t *irc ); void irc_umode_set( irc_t *irc, const char *s, gboolean allow_priv ); |