summaryrefslogtreecommitdiff
path: root/include/curl/curl.h
diff options
context:
space:
mode:
authorMartin Halle <Martin.Halle@tuhh.de>2021-04-03 06:42:01 +0200
committerJay Satiro <raysatiro@yahoo.com>2021-04-22 18:28:28 -0400
commite540b32562a0844e2241b624deb7d9e25ac46b2d (patch)
treeb5e5d17bfde9711a04c3426dc8e7b0161595879e /include/curl/curl.h
parent67d3afa73f4cdb8a6c473f911c8af800121e0a49 (diff)
downloadcurl-e540b32562a0844e2241b624deb7d9e25ac46b2d.tar.gz
version: add gsasl_version to curl_version_info_data
- Add gsasl_version string and bump to CURLVERSION_TENTH. Ref: https://curl.se/mail/lib-2021-04/0003.html Closes https://github.com/curl/curl/pull/6843
Diffstat (limited to 'include/curl/curl.h')
-rw-r--r--include/curl/curl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 40b5ed129..cd3207b1f 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -2870,6 +2870,7 @@ typedef enum {
CURLVERSION_SEVENTH,
CURLVERSION_EIGHTH,
CURLVERSION_NINTH,
+ CURLVERSION_TENTH,
CURLVERSION_LAST /* never actually use this */
} CURLversion;
@@ -2878,7 +2879,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_NINTH
+#define CURLVERSION_NOW CURLVERSION_TENTH
struct curl_version_info_data {
CURLversion age; /* age of the returned struct */
@@ -2931,6 +2932,9 @@ struct curl_version_info_data {
/* These fields were added in CURLVERSION_NINTH */
const char *hyper_version; /* human readable string. */
+
+ /* These fields were added in CURLVERSION_TENTH */
+ const char *gsasl_version; /* human readable string. */
};
typedef struct curl_version_info_data curl_version_info_data;