summaryrefslogtreecommitdiff
path: root/lib/connect.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-08-08 23:13:57 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-08-09 12:26:02 +0200
commitdb061571ef4b7a925da1c189b60c08b39e6b2dbf (patch)
treea709e439ac1ef0ace78663a8ea4724d84c329a8a /lib/connect.h
parent4570c22c579cdfb293d890f034c7c4926967790e (diff)
downloadcurl-db061571ef4b7a925da1c189b60c08b39e6b2dbf.tar.gz
http3: make connection reuse work
Closes #4204
Diffstat (limited to 'lib/connect.h')
-rw-r--r--lib/connect.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/connect.h b/lib/connect.h
index 6a5c755cc..e44c4a701 100644
--- a/lib/connect.h
+++ b/lib/connect.h
@@ -51,6 +51,8 @@ timediff_t Curl_timeleft(struct Curl_easy *data,
curl_socket_t Curl_getconnectinfo(struct Curl_easy *data,
struct connectdata **connp);
+bool Curl_addr2string(struct sockaddr *sa, char *addr, long *port);
+
/*
* Check if a connection seems to be alive.
*/