version: include hyper version

This commit is contained in:
Daniel Stenberg 2020-12-14 14:10:33 +01:00
parent 8a113ba93c
commit 9211cb2034
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 24 additions and 5 deletions

View file

@ -2849,6 +2849,7 @@ typedef enum {
CURLVERSION_SIXTH,
CURLVERSION_SEVENTH,
CURLVERSION_EIGHTH,
CURLVERSION_NINTH,
CURLVERSION_LAST /* never actually use this */
} CURLversion;
@ -2857,7 +2858,7 @@ typedef enum {
meant to be a built-in version number for what kind of struct the caller
expects. If the struct ever changes, we redefine the NOW to another enum
from above. */
#define CURLVERSION_NOW CURLVERSION_EIGHTH
#define CURLVERSION_NOW CURLVERSION_NINTH
struct curl_version_info_data {
CURLversion age; /* age of the returned struct */
@ -2908,6 +2909,8 @@ struct curl_version_info_data {
(MAJOR << 24) | (MINOR << 12) | PATCH */
const char *zstd_version; /* human readable string. */
/* These fields were added in CURLVERSION_NINTH */
const char *hyper_version; /* human readable string. */
};
typedef struct curl_version_info_data curl_version_info_data;