diff options
author | Timo Sirainen <cras@irssi.org> | 2000-05-25 14:34:40 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-05-25 14:34:40 +0000 |
commit | c39c27a1ff26bc6deee5335db85d3f993d2aca55 (patch) | |
tree | 81ad05c3fa9faf10af6597866957799e425dff42 /src/irc/bot/botnet.h | |
parent | 2440a5b0b6aa9fad1899c417c0363c30bfd8040c (diff) | |
download | irssi-c39c27a1ff26bc6deee5335db85d3f993d2aca55.zip |
If we couldn't connect to any of our uplinks, wait for 5 minutes and
try again.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@240 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/bot/botnet.h')
-rw-r--r-- | src/irc/bot/botnet.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/irc/bot/botnet.h b/src/irc/bot/botnet.h index 309d6745..722ba8be 100644 --- a/src/irc/bot/botnet.h +++ b/src/irc/bot/botnet.h @@ -71,6 +71,7 @@ typedef struct { struct _botnet_rec { int connected:1; int autoconnect:1; + int reconnect:1; char *name; /* botnet name */ char *nick; /* our nick in botnet */ @@ -90,6 +91,8 @@ struct _botnet_rec { BOT_REC *master; /* link to current master */ }; +extern GSList *botnets; + void bot_send_cmd(BOT_REC *bot, char *data); void bot_send_cmdv(BOT_REC *bot, char *format, ...); @@ -118,7 +121,7 @@ void bot_destroy(BOT_REC *bot); void bot_downlink_destroy(BOT_DOWNLINK_REC *rec); void bot_uplink_destroy(BOT_UPLINK_REC *rec); -int botnet_connect(const char *network); +void botnet_connect(BOTNET_REC *botnet); void botnet_disconnect(BOTNET_REC *botnet); #endif |