summaryrefslogtreecommitdiff
path: root/lib/http_proxy.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-24 23:41:58 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-26 10:04:47 +0100
commit1dc8aa870e879d3b2ff0334cdb11842d6321d61f (patch)
tree29ccd68e0b9821ba440200513b28c4666c17daa9 /lib/http_proxy.h
parent560fc170ec8976019544546762d565bbf786fdc9 (diff)
downloadcurl-1dc8aa870e879d3b2ff0334cdb11842d6321d61f.tar.gz
hostip/proxy: remove conn->data use
Closes #6513
Diffstat (limited to 'lib/http_proxy.h')
-rw-r--r--lib/http_proxy.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/http_proxy.h b/lib/http_proxy.h
index a595e8b55..a78db0d04 100644
--- a/lib/http_proxy.h
+++ b/lib/http_proxy.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -27,14 +27,14 @@
#if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP)
/* ftp can use this as well */
-CURLcode Curl_proxyCONNECT(struct connectdata *conn,
+CURLcode Curl_proxyCONNECT(struct Curl_easy *data,
int tunnelsocket,
const char *hostname, int remote_port);
/* Default proxy timeout in milliseconds */
#define PROXY_TIMEOUT (3600*1000)
-CURLcode Curl_proxy_connect(struct connectdata *conn, int sockindex);
+CURLcode Curl_proxy_connect(struct Curl_easy *data, int sockindex);
bool Curl_connect_complete(struct connectdata *conn);
bool Curl_connect_ongoing(struct connectdata *conn);