summaryrefslogtreecommitdiff
path: root/lib/url.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-07-04 00:55:48 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-07-11 23:41:24 +0200
commit1b76c38904f0033ac1403ec4b31c28f23805c0d4 (patch)
tree836d54662c91bc088e4860712c02d83ac0117b9b /lib/url.h
parentd6417f6c2ddb10099da2c7ad0ffeebaa732aa824 (diff)
downloadcurl-1b76c38904f0033ac1403ec4b31c28f23805c0d4.tar.gz
conn: remove the boolean 'inuse' field
... as the usage needs to be counted.
Diffstat (limited to 'lib/url.h')
-rw-r--r--lib/url.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/url.h b/lib/url.h
index a70bd5466..ef3ebf03e 100644
--- a/lib/url.h
+++ b/lib/url.h
@@ -39,7 +39,8 @@ void Curl_freeset(struct Curl_easy * data);
CURLcode Curl_close(struct Curl_easy *data); /* opposite of curl_open() */
CURLcode Curl_connect(struct Curl_easy *, struct connectdata **,
bool *async, bool *protocol_connect);
-CURLcode Curl_disconnect(struct connectdata *, bool dead_connection);
+CURLcode Curl_disconnect(struct Curl_easy *data,
+ struct connectdata *, bool dead_connection);
CURLcode Curl_protocol_connect(struct connectdata *conn, bool *done);
CURLcode Curl_protocol_connecting(struct connectdata *conn, bool *done);
CURLcode Curl_protocol_doing(struct connectdata *conn, bool *done);