curl_version_info: offer quic (and h3) library info

Closes #4216
This commit is contained in:
Daniel Stenberg 2019-08-12 10:04:50 +02:00
parent 551806255f
commit 1a2df1518a
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 21 additions and 2 deletions

View file

@ -78,6 +78,15 @@ typedef struct {
(MAJOR << 24) | (MINOR << 12) | PATCH */
const char *brotli_version; /* human readable string. */
/* when 'age is CURLVERSION_SIXTH or alter (7.66.0 or later), these fields
also exist */
unsigned int nghttp2_ver_num; /* Numeric nghttp2 version
(MAJOR << 16) | (MINOR << 8) | PATCH */
const char *nghttp2_version; /* human readable string. */
char *quic_version; /* human readable quic (+ HTTP/3) library +
version or NULL */
} curl_version_info_data;
.fi