mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
b8375d471f
Several other related multiprotocol updates. Removed /SILCSERVER from SILC, /CONNECT and /SERVER should work properly now. Rejoining channels after reconnection works. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1245 dbcabf3a-b0e7-0310-adc4-f8d773084564
24 lines
537 B
C
24 lines
537 B
C
#ifndef __SERVER_RECONNECT_H
|
|
#define __SERVER_RECONNECT_H
|
|
|
|
/* wait for half an hour before trying to reconnect to host where last
|
|
connection failed */
|
|
#define FAILED_RECONNECT_WAIT (60*30)
|
|
|
|
typedef struct {
|
|
int tag;
|
|
time_t next_connect;
|
|
|
|
SERVER_CONNECT_REC *conn;
|
|
} RECONNECT_REC;
|
|
|
|
extern GSList *reconnects;
|
|
|
|
void reconnect_save_status(SERVER_CONNECT_REC *conn, SERVER_REC *server);
|
|
void server_reconnect_destroy(RECONNECT_REC *rec, int free_conn);
|
|
|
|
void servers_reconnect_init(void);
|
|
void servers_reconnect_deinit(void);
|
|
|
|
#endif
|