1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 03:22:48 -05:00

Jacob's patch to improve Close On Exit behaviour

[originally from svn r927]
This commit is contained in:
Simon Tatham
2001-02-05 13:08:18 +00:00
parent 0507b7437a
commit 4d830f7587
4 changed files with 42 additions and 19 deletions

View File

@ -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_ALWAYS, /* Always close the window */
COE_NORMAL /* Close window on "normal" (non-error) exits only */
};
typedef struct {
char *(*init) (char *host, int port, char **realhost);
void (*send) (char *buf, int len);