aboutsummaryrefslogtreecommitdiff
path: root/lib/quic.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-08-12 16:28:28 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-08-14 23:14:12 +0200
commitf2cc26456ba6253cabbfdb77a2e894a87f348694 (patch)
tree3fc74a11e77aed8f463d220cb17045f8fe9e190f /lib/quic.h
parent1d85e09ccd1696655c86cacbf14e50e3a52e3ffb (diff)
ngtcp2: do QUIC connections happy-eyeballs friendly
Diffstat (limited to 'lib/quic.h')
-rw-r--r--lib/quic.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/quic.h b/lib/quic.h
index 797edbb25..d73ba0c36 100644
--- a/lib/quic.h
+++ b/lib/quic.h
@@ -37,10 +37,12 @@
/* functions provided by the specific backends */
CURLcode Curl_quic_connect(struct connectdata *conn,
curl_socket_t sockfd,
+ int sockindex,
const struct sockaddr *addr,
socklen_t addrlen);
-CURLcode Curl_quic_is_connected(struct connectdata *conn, int sockindex,
- bool *done);
+CURLcode Curl_quic_is_connected(struct connectdata *conn,
+ curl_socket_t sockfd,
+ bool *connected);
int Curl_quic_ver(char *p, size_t len);
#endif