On Tue, Apr 17, 2018 at 2:25 AM, Swamy J-S <swamy....@in.abb.com> wrote:

> Is there a way to check which protocols are supported by libcurl on
> Windows ?
>
> If so, How to check?
>
>
>
I haven't tried it on Windows, but I expect that the curl_version_info()
function works there, and that the protocols member of the
curl_version_info_data * that it returns is populated. See the
documentation here:

https://curl.haxx.se/libcurl/c/curl_version_info.html

for details about the function and the structure.

Look at the function tool_version_info() in the source file tool_help.c
(for the curl command line tool):

https://github.com/curl/curl/blob/master/src/tool_help.c#L531

for an example of how to read the field and print the values.


HTH,

Geoff
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to