diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-01-18 11:56:50 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-18 22:54:47 +0100 |
commit | 566b77877eee56f4568892d1c0cb5f992c33cd7b (patch) | |
tree | 674f12deb7488583cf2cc5255b62e03c58070c34 /lib/socks.h | |
parent | ba93ab2a2aeb930c92d45635b5713bc7499da270 (diff) | |
download | curl-bagder/more-data-conn.tar.gz |
lib: more conn->data cleanupsbagder/more-data-conn
Diffstat (limited to 'lib/socks.h')
-rw-r--r-- | lib/socks.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/socks.h b/lib/socks.h index 1fae58b6f..b0c7f9b26 100644 --- a/lib/socks.h +++ b/lib/socks.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 @@ -35,7 +35,7 @@ * * This is STUPID BLOCKING behavior */ -int Curl_blockread_all(struct connectdata *conn, +int Curl_blockread_all(struct Curl_easy *data, curl_socket_t sockfd, char *buf, ssize_t buffersize, @@ -52,7 +52,7 @@ CURLproxycode Curl_SOCKS4(const char *proxy_name, const char *hostname, int remote_port, int sockindex, - struct connectdata *conn, + struct Curl_easy *data, bool *done); /* @@ -64,7 +64,7 @@ CURLproxycode Curl_SOCKS5(const char *proxy_name, const char *hostname, int remote_port, int sockindex, - struct connectdata *conn, + struct Curl_easy *data, bool *done); #if defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI) @@ -72,7 +72,7 @@ CURLproxycode Curl_SOCKS5(const char *proxy_name, * This function handles the SOCKS5 GSS-API negotiation and initialisation */ CURLcode Curl_SOCKS5_gssapi_negotiate(int sockindex, - struct connectdata *conn); + struct Curl_easy *data); #endif #endif /* CURL_DISABLE_PROXY */ |