aboutsummaryrefslogtreecommitdiffstats
path: root/irc.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-01-18 19:25:31 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2006-01-18 19:25:31 +0100
commitc1826c6f72d1fe85e1c5decf5207601dac2c23e7 (patch)
tree9189d6f012a7d77f8029a44a7ef8e7a7a49a6d10 /irc.h
parentac9f0e965b5002c9eb022f77eb7c6f16cba662b1 (diff)
BitlBee now tries to empty sendbuffer before closing the connection.
Diffstat (limited to 'irc.h')
-rw-r--r--irc.h4
1 files changed, 3 insertions, 1 deletions
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 );