diff options
author | erdgeist <> | 2013-07-15 19:06:35 +0000 |
---|---|---|
committer | erdgeist <> | 2013-07-15 19:06:35 +0000 |
commit | f409a5e841d91237fe4034818955dd88167a679b (patch) | |
tree | bebaf6f812c1278357294f80b46bba8ff0883134 /vchat.h | |
parent | 959d7d76aec53f03463223ee64afb805e1865464 (diff) |
add a global tcp-keepalive-option. thanks to Fefe
Diffstat (limited to 'vchat.h')
-rwxr-xr-x | vchat.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -33,7 +33,7 @@ typedef enum { CF_NIL, CF_NICK, CF_FROM, CF_SERVERHOST, CF_SERVERPORT, | |||
33 | CF_CIPHERSUITE, CF_CONFIGFILE, CF_CERTFILE, CF_KEYFILE, CF_FORMFILE, CF_LOGINSCRIPT, | 33 | CF_CIPHERSUITE, CF_CONFIGFILE, CF_CERTFILE, CF_KEYFILE, CF_FORMFILE, CF_LOGINSCRIPT, |
34 | CF_USESSL, CF_IGNSSL, CF_USECERT, CF_PRIVHEIGHT, CF_PRIVCOLLAPS, CF_HSCROLL, CF_CHANNEL, CF_USETIME, | 34 | CF_USESSL, CF_IGNSSL, CF_USECERT, CF_PRIVHEIGHT, CF_PRIVCOLLAPS, CF_HSCROLL, CF_CHANNEL, CF_USETIME, |
35 | CF_USETOPIC, CF_SCROLLBPRIV, CF_SCROLLBACK, CF_SCROLLBPRIVT, CF_SCROLLBACKT, | 35 | CF_USETOPIC, CF_SCROLLBPRIV, CF_SCROLLBACK, CF_SCROLLBPRIVT, CF_SCROLLBACKT, |
36 | CF_ENCODING, CF_BELLPRIV, CF_CASEFIRST, CF_AUTORECONN } confopt; | 36 | CF_ENCODING, CF_BELLPRIV, CF_CASEFIRST, CF_AUTORECONN, CF_KEEPALIVE } confopt; |
37 | 37 | ||
38 | /* format strings */ | 38 | /* format strings */ |
39 | typedef enum { FS_PLAIN, FS_CHAN, FS_PRIV, FS_SERV, FS_GLOB, FS_DBG, FS_ERR, | 39 | typedef enum { FS_PLAIN, FS_CHAN, FS_PRIV, FS_SERV, FS_GLOB, FS_DBG, FS_ERR, |
@@ -75,6 +75,7 @@ typedef struct formatstring formatstring; | |||
75 | static char tmpstr[TMPSTRSIZE]; | 75 | static char tmpstr[TMPSTRSIZE]; |
76 | 76 | ||
77 | extern unsigned int loggedin; | 77 | extern unsigned int loggedin; |
78 | extern unsigned int want_tcp_keepalive; | ||
78 | 79 | ||
79 | /* vchat-client.c */ | 80 | /* vchat-client.c */ |
80 | #define ERRSTRSIZE 1024 | 81 | #define ERRSTRSIZE 1024 |