X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/b6c680d45c9045b6e5f2350f3dd172e569f7c65d..b41069ff844e8d8e24da43b7f777801be1a55390:/putty.h diff --git a/putty.h b/putty.h index a06ed7d0..88774e0d 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_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);