aboutsummaryrefslogtreecommitdiff
path: root/tools/plink/proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/plink/proxy.h')
-rw-r--r--tools/plink/proxy.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/plink/proxy.h b/tools/plink/proxy.h
index 683b2603d..9e64aadd0 100644
--- a/tools/plink/proxy.h
+++ b/tools/plink/proxy.h
@@ -30,6 +30,7 @@ struct Socket_proxy_tag {
bufchain pending_oob_output_data;
int pending_flush;
bufchain pending_input_data;
+ int pending_eof;
#define PROXY_STATE_NEW -1
#define PROXY_STATE_ACTIVE 0
@@ -80,7 +81,7 @@ struct Socket_proxy_tag {
OSSocket accepting_sock;
/* configuration, used to look up proxy settings */
- Config cfg;
+ Conf *conf;
/* CHAP transient data */
int chap_num_attributes;
@@ -110,7 +111,7 @@ extern int proxy_socks5_negotiate (Proxy_Socket, int);
* This may be reused by local-command proxies on individual
* platforms.
*/
-char *format_telnet_command(SockAddr addr, int port, const Config *cfg);
+char *format_telnet_command(SockAddr addr, int port, Conf *conf);
/*
* These are implemented in cproxy.c or nocproxy.c, depending on