X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/0d13bfcd3dc0eac74361d98a550092ffa054e918..8412ec80fffa6d4e3422a7240409a9d775b29c44:/putty.h diff --git a/putty.h b/putty.h index 070ba313..b372d4a3 100644 --- a/putty.h +++ b/putty.h @@ -472,6 +472,7 @@ struct config_tag { char ttymodes[768]; /* MODE\tVvalue\0MODE\tA\0\0 */ char environmt[1024]; /* VAR\tvalue\0VAR\tvalue\0\0 */ char username[100]; + int username_from_env; char localusername[100]; int rfc_environ; int passive_telnet; @@ -572,6 +573,7 @@ struct config_tag { int x11_forward; char x11_display[128]; int x11_auth; + Filename xauthfile; /* port forwarding */ int lport_acceptall; /* accept conns from hosts other than localhost */ int rport_acceptall; /* same for remote forwarded ports (SSH-2 only) */ @@ -789,6 +791,7 @@ void random_destroy_seed(void); */ Backend *backend_from_name(const char *name); Backend *backend_from_proto(int proto); +int get_remote_username(Config *cfg, char *user, size_t len); char *save_settings(char *section, Config * cfg); void save_open_settings(void *sesskey, Config *cfg); void load_settings(char *section, Config * cfg);