mirror of
https://github.com/curl/curl.git
synced 2026-07-23 18:27:19 +03:00
version: include hyper version
This commit is contained in:
parent
8a113ba93c
commit
9211cb2034
3 changed files with 24 additions and 5 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue