Warn-on-close is now configurable off
[u/mdw/putty] / putty.h
diff --git a/putty.h b/putty.h
index 24e64d4..fcbb878 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -14,6 +14,8 @@
 #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
@@ -95,6 +97,7 @@ typedef struct {
     int port;
     enum { PROT_RAW, PROT_TELNET, PROT_SSH } protocol;
     int close_on_exit;
+    int warn_on_close;
     /* SSH options */
     int nopty;
     enum { CIPHER_3DES, CIPHER_BLOWFISH, CIPHER_DES } cipher;