X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/f0df44da3e916a78cc09ba5a98c490f0b6b2af68..83ea993b6ec099cffa67ed69840adbfb21b311ed:/putty.h diff --git a/putty.h b/putty.h index 2f510ff4..4f9151b9 100644 --- a/putty.h +++ b/putty.h @@ -92,7 +92,7 @@ GLOBAL char *logfile; typedef enum { TS_AYT, TS_BRK, TS_SYNCH, TS_EC, TS_EL, TS_GA, TS_NOP, TS_ABORT, - TS_AO, TS_IP, TS_SUSP, TS_EOR, TS_EOF, TS_LECHO, TS_RECHO + TS_AO, TS_IP, TS_SUSP, TS_EOR, TS_EOF, TS_LECHO, TS_RECHO, TS_PING } Telnet_Special; typedef enum { @@ -139,6 +139,7 @@ typedef struct { enum { PROT_RAW, PROT_TELNET, PROT_SSH } protocol; int close_on_exit; int warn_on_close; + int ping_interval; /* SSH options */ char remote_cmd[512]; int nopty; @@ -193,6 +194,7 @@ typedef struct { VT_Mode vtmode; int xlat_enablekoiwin; int xlat_88592w1250; + int xlat_88592cp852; int xlat_capslockcyr; } Config; @@ -268,19 +270,25 @@ void random_destroy_seed(void); */ int do_config (void); int do_reconfig (HWND); -void do_defaults (char *); +void do_defaults (char *, Config *); void logevent (char *); void showeventlog (HWND); void showabout (HWND); void verify_ssh_host_key(char *host, int port, char *keytype, char *keystr, char *fingerprint); -void get_sesslist(int allocate); void registry_cleanup(void); GLOBAL int nsessions; GLOBAL char **sessions; /* + * Exports from settings.c. + */ +void save_settings (char *section, int do_host, Config *cfg); +void load_settings (char *section, int do_host, Config *cfg); +void get_sesslist(int allocate); + +/* * Exports from terminal.c. */