]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - putty.h
Implement `Restart Session', in both Unix and Windows PuTTY. Largely
[PuTTY.git] / putty.h
diff --git a/putty.h b/putty.h
index fed589bbd9e25f99b3c612cf5fa9cf66cbf925ef..3fb26bcc17efe64c4bbb20209ab174af851a1c02 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -517,6 +517,11 @@ GLOBAL int flags;
 GLOBAL int default_protocol;
 GLOBAL int default_port;
 
+/*
+ * This is set TRUE by cmdline.c iff a session is loaded with "-load".
+ */
+GLOBAL int loaded_session;
+
 struct RSAKey;                        /* be a little careful of scope */
 
 /*
@@ -650,6 +655,7 @@ void log_reconfig(void *logctx, Config *cfg);
 void logfopen(void *logctx);
 void logfclose(void *logctx);
 void logtraffic(void *logctx, unsigned char c, int logmode);
+void logflush(void *logctx);
 void log_eventlog(void *logctx, const char *string);
 enum { PKT_INCOMING, PKT_OUTGOING };
 void log_packet(void *logctx, int direction, int type,