diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-18 06:30:11 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-18 06:30:11 -0400 |
| commit | b07cf8d151424ea0f6790e884af160e233943579 (patch) | |
| tree | a264fb666221439465af6949149810580d89fbce /src/irc.h | |
| parent | a0a87c0a32fd891efcaf82f8d49b7221fa1ffe2b (diff) | |
| download | fujinet-chat-b07cf8d151424ea0f6790e884af160e233943579.tar.gz | |
Ping server after 1 min of inactivity; disconnect/reconnect if no PONG within the next minute.
Diffstat (limited to 'src/irc.h')
| -rw-r--r-- | src/irc.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -39,6 +39,9 @@ void txbuf_send_str(const char *str); void print_error(unsigned char err); +/* does exactly what you think */ +void fn_disconnect(void); + /**** irc.c */ #define MAX_MSG_ARGS 8 extern char bell_type; @@ -68,4 +71,6 @@ void cmd_execute(void); void cmd_rejoin_chans(void); void cmd_ctcp_ping(char *nick); void cmd_send_pm(char *args); +void cmd_ctcp_ping(char *nick); +void cmd_server_ping(void); unsigned int read_rtclok(void); /* irc.c needs this one so it's not static */ |
