X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/5555d393c727cca12fce612a469bacb9b627eb3b..86916870d36cb70e7ef0ea760e75a6ae8b2d83a5:/putty.h diff --git a/putty.h b/putty.h index 80643c74..65a99ebe 100644 --- a/putty.h +++ b/putty.h @@ -184,8 +184,10 @@ enum { }; struct backend_tag { - char *(*init) (void *frontend_handle, void **backend_handle, + char *(*init) (void *frontend_handle, void **backend_handle, Config *cfg, char *host, int port, char **realhost, int nodelay); + /* back->reconfig() passes in a replacement configuration. */ + void (*reconfig) (void *handle, Config *cfg); /* back->send() returns the current amount of buffered data. */ int (*send) (void *handle, char *buf, int len); /* back->sendbuffer() does the same thing but without attempting a send */ @@ -516,7 +518,7 @@ void term_paste(Terminal *); void term_nopaste(Terminal *); int term_ldisc(Terminal *, int option); void term_copyall(Terminal *); -void term_reconfig(Terminal *); +void term_reconfig(Terminal *, Config *); void term_seen_key_event(Terminal *); int from_backend(void *, int is_stderr, char *data, int len); void term_provide_resize_fn(Terminal *term,