X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/0965bee0865fd8ea129b2de62a3c50e09c59a184..1983e559d79a20dc24eefd04d081e6f33625f286:/putty.h diff --git a/putty.h b/putty.h index 5423ae91..cf917ab5 100644 --- a/putty.h +++ b/putty.h @@ -130,6 +130,15 @@ enum { LD_ECHO /* local echo */ }; +enum { + /* + * Close On Exit behaviours. (cfg.close_on_exit) + */ + COE_NEVER, /* Never close the window */ + COE_NORMAL, /* Close window on "normal" (non-error) exits only */ + COE_ALWAYS /* Always close the window */ +}; + typedef struct { char *(*init) (char *host, int port, char **realhost); void (*send) (char *buf, int len); @@ -162,11 +171,12 @@ typedef struct { int nopty; int compression; int agentfwd; - enum { CIPHER_3DES, CIPHER_BLOWFISH, CIPHER_DES } cipher; + enum { CIPHER_3DES, CIPHER_BLOWFISH, CIPHER_DES, CIPHER_AES } 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; + int ssh_subsys; /* run a subsystem rather than a command */ /* Telnet options */ char termtype[32]; char termspeed[32]; @@ -344,7 +354,7 @@ void term_invalidate(void); void term_blink(int set_cursor); void term_paste(void); void term_nopaste(void); -int telnet_ldisc(int option); +int term_ldisc(int option); void from_backend(int is_stderr, char *data, int len); void logfopen (void); void logfclose (void);