From c1826c6f72d1fe85e1c5decf5207601dac2c23e7 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Wed, 18 Jan 2006 19:25:31 +0100 Subject: BitlBee now tries to empty sendbuffer before closing the connection. --- irc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'irc.h') diff --git a/irc.h b/irc.h index 32b19642..46391cb7 100644 --- a/irc.h +++ b/irc.h @@ -43,7 +43,8 @@ typedef enum USTATUS_OFFLINE, USTATUS_AUTHORIZED, USTATUS_LOGGED_IN, - USTATUS_IDENTIFIED + USTATUS_IDENTIFIED, + USTATUS_SHUTDOWN } irc_status_t; typedef struct channel @@ -103,6 +104,7 @@ typedef struct irc extern GSList *irc_connection_list; irc_t *irc_new( int fd ); +void irc_abort( irc_t *irc ); void irc_free( irc_t *irc ); int irc_exec( irc_t *irc, char **cmd ); -- cgit v1.2.3