aboutsummaryrefslogtreecommitdiffstats
path: root/irc.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-01-18 23:15:09 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2006-01-18 23:15:09 +0100
commit92ad3d44da447199f45dbc438d061cc4e2261dbd (patch)
tree5475751130daa05a9b4e2615cc29fb769b6e392d /irc.h
parentd9909972078956f7f362ba479cc22250cc6e1b13 (diff)
parentc1826c6f72d1fe85e1c5decf5207601dac2c23e7 (diff)
Merging changes from laptop: Now tries to empty sendbuffer before closing the connection,
and fixed some error checking flaw in bitlbee_io_current_client_write() that was also present in the _read() version before 0.99 (and actually caused the 100% CPU bug that kept us from releasing 1.0).
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 );