X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=proxy.h;h=2e2324c078343ae5d2229a79e5b08d20659b10d0;hb=222c134b5f4f5397f2a15d36813286edeb3cff5e;hp=10a8c67715d42892d3f93d8e369a226cbee8449f;hpb=947962e0b95e10151c186048a8b5cc2fb425838c;p=PuTTY.git diff --git a/proxy.h b/proxy.h index 10a8c677..2e2324c0 100644 --- a/proxy.h +++ b/proxy.h @@ -19,7 +19,7 @@ struct Socket_proxy_tag { const struct socket_function_table *fn; /* the above variable absolutely *must* be the first in this structure */ - char * error; + const char *error; Socket sub_socket; Plug plug; @@ -78,7 +78,8 @@ struct Socket_proxy_tag { int sent_bufsize; /* accepting */ - OSSocket accepting_sock; + accept_fn_t accepting_constructor; + accept_ctx_t accepting_ctx; /* configuration, used to look up proxy settings */ Conf *conf;