diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-08-22 14:08:18 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-23 22:33:29 +0200 |
commit | 0a5d28fa2ec872de55c8d3f3b62675f17ca9cd45 (patch) | |
tree | 46be1169dec129df20c418b3a98b92ff7ffb4ad9 /lib/quic.h | |
parent | 32d64b2e875f0d74cd433dff8bda9f8a98dcd44e (diff) | |
download | curl-0a5d28fa2ec872de55c8d3f3b62675f17ca9cd45.tar.gz |
ngtcp2: accept upload via callback
Closes #4256
Diffstat (limited to 'lib/quic.h')
-rw-r--r-- | lib/quic.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/quic.h b/lib/quic.h index d73ba0c36..6c132a324 100644 --- a/lib/quic.h +++ b/lib/quic.h @@ -44,7 +44,10 @@ CURLcode Curl_quic_is_connected(struct connectdata *conn, curl_socket_t sockfd, bool *connected); int Curl_quic_ver(char *p, size_t len); +CURLcode Curl_quic_done_sending(struct connectdata *conn); -#endif +#else /* ENABLE_QUIC */ +#define Curl_quic_done_sending(x) +#endif /* !ENABLE_QUIC */ #endif /* HEADER_CURL_QUIC_H */ |