X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/a9422f39e34f55d1925d1ebef35ace1a0f1c2f6a..8239ee571a096dc528bf557c0e077046f378f8e7:/putty.h diff --git a/putty.h b/putty.h index 48e9d2e5..1f6e5d21 100644 --- a/putty.h +++ b/putty.h @@ -18,8 +18,6 @@ #define GLOBAL extern #endif -GLOBAL HINSTANCE putty_inst; - #define ATTR_ACTCURS 0x80000000UL /* active cursor (block) */ #define ATTR_PASCURS 0x40000000UL /* passive cursor (box) */ #define ATTR_INVALID 0x20000000UL @@ -92,7 +90,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 +137,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; @@ -146,6 +145,7 @@ typedef struct { enum { CIPHER_3DES, CIPHER_BLOWFISH, CIPHER_DES } cipher; char keyfile[FILENAME_MAX]; int sshprot; /* use v1 or v2 when both available */ + int buggymac; /* MAC bug commmercial <=v2.3.x SSH2 */ int try_tis_auth; /* Telnet options */ char termtype[32]; @@ -193,6 +193,7 @@ typedef struct { VT_Mode vtmode; int xlat_enablekoiwin; int xlat_88592w1250; + int xlat_88592cp852; int xlat_capslockcyr; } Config; @@ -266,6 +267,7 @@ void random_destroy_seed(void); /* * Exports from windlg.c. */ +void defuse_showwindow(void); int do_config (void); int do_reconfig (HWND); void do_defaults (char *, Config *);