summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-12-14 14:10:33 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-12-18 09:58:03 +0100
commit9211cb2034925476a5c8a79128133edf0785162d (patch)
treeddca5aef72491479ed4959401dd91ea80e74cc20 /include
parent8a113ba93c112927200205fb4f4577ad3bc1e1b9 (diff)
downloadcurl-9211cb2034925476a5c8a79128133edf0785162d.tar.gz
version: include hyper version
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index a73418dce..76ebd8993 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -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;