request_resize() needs to call term_size() to tell the terminal emulator
[u/mdw/putty] / putty.h
diff --git a/putty.h b/putty.h
index 65a99eb..db37db2 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -409,9 +409,6 @@ GLOBAL int flags;
 GLOBAL int default_protocol;
 GLOBAL int default_port;
 
-/* This variable, OTOH, needs to be made non-global ASAP. FIXME. */
-GLOBAL Config cfg;
-
 struct RSAKey;                        /* be a little careful of scope */
 
 /*
@@ -529,7 +526,8 @@ void term_provide_logctx(Terminal *term, void *logctx);
 /*
  * Exports from logging.c.
  */
-void *log_init(void *frontend);
+void *log_init(void *frontend, Config *cfg);
+void log_reconfig(void *logctx, Config *cfg);
 void logfopen(void *logctx);
 void logfclose(void *logctx);
 void logtraffic(void *logctx, unsigned char c, int logmode);