diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-09-25 15:38:48 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-09-25 15:38:48 +0000 |
commit | 1ee1f5f427bf39f07f11db812c0a62406a56bffa (patch) | |
tree | 178fad48888388c9b6e0b6aba662f86fea73aac7 /include | |
parent | a5874a539300ed4d880618a7abc4844a4904989e (diff) |
extended curl_version_info() with more info on related sub-libraries
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index e8f5793c4..de1e5aeb2 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -926,10 +926,17 @@ typedef struct { typedef struct { const char *version; /* LIBCURL_VERSION */ unsigned int version_num; /* LIBCURL_VERSION_NUM */ + int features; /* bitmask, see defines below */ + char *ssl_version; /* human readable string */ + long ssl_version_num; /* number */ + char *libz_version; /* human readable string */ /* protocols is terminated by an entry with a NULL protoname */ - curl_runtime_protocol_info *protocols; + const curl_runtime_protocol_info *protocols; } curl_version_info_data; +#define CURL_VERSION_IPV6 (1<<0) +#define CURL_VERSION_KERBEROS4 (1<<1) + /* returns a pointer to a static copy of the version info struct */ const curl_version_info_data *curl_version_info(void); |