X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/86916870d36cb70e7ef0ea760e75a6ae8b2d83a5..9dc625f0ca85b2272a4dda1150c5c178c91729ea:/putty.h diff --git a/putty.h b/putty.h index 65a99ebe..db37db24 100644 --- 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);