summaryrefslogtreecommitdiff
path: root/src/tool_help.c
diff options
context:
space:
mode:
authorThomas Guillem <thomas@gllm.fr>2022-04-05 16:00:37 +0200
committerDaniel Stenberg <daniel@haxx.se>2022-06-07 13:34:03 +0200
commit2ed101256414ea5274e85e6f3d4c011b46442ac4 (patch)
tree361cc3fa90bd161cabba72fad9bdc8b1771954bf /src/tool_help.c
parent23af112f5556d6a785c17e09f2422ac931405f61 (diff)
downloadcurl-2ed101256414ea5274e85e6f3d4c011b46442ac4.tar.gz
curl_version_info: add CURL_VERSION_THREADSAFE_INIT
This flag can be used to make sure that curl_global_init() is thread-safe. This can be useful for libraries that can't control what other dependencies are doing with Curl. Closes #8680
Diffstat (limited to 'src/tool_help.c')
-rw-r--r--src/tool_help.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_help.c b/src/tool_help.c
index 799853282..64db44c79 100644
--- a/src/tool_help.c
+++ b/src/tool_help.c
@@ -110,6 +110,7 @@ static const struct feat feats[] = {
{"alt-svc", CURL_VERSION_ALTSVC},
{"HSTS", CURL_VERSION_HSTS},
{"gsasl", CURL_VERSION_GSASL},
+ {"threadsafe-init",CURL_VERSION_THREADSAFE_INIT},
};
static void print_category(curlhelp_t category)