aboutsummaryrefslogtreecommitdiffstats
path: root/irc.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-07-10 16:08:02 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-07-10 16:08:02 +0100
commitf1c2b21af3a51796b747ca4dbc2cdec9611efc5d (patch)
tree067321e4a5c3073e5a9da44a8215a89ebd33bb1d /irc.h
parent534e4069e0cfa8aee82f82603dc3ca05562a85dd (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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/irc.h b/irc.h
index 3b5e244f..1d5bd113 100644
--- a/irc.h
+++ b/irc.h
@@ -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 );