X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/6473492058e854537bb061277bd9eb5c319bf11a..86916870d36cb70e7ef0ea760e75a6ae8b2d83a5:/putty.h diff --git a/putty.h b/putty.h index 19000fc7..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 */