Discussion:
curl-library Digest, Vol 188, Issue 3
Mac-Fly via curl-library
2021-04-03 03:45:51 UTC
Permalink
Thank you for the information. Indeed: curl_version() shows the attachment. However, I am not using this method because the string is too long for the UI where I want to show it. thats why I use the curl_version_info_data struct instead to show the different dependencies and version line-by-line.

It maybe a small thing/change but would be consistent to the other libs that are also present in both: curl_version() and the version struct.

I'll try to compile a patch accordingly.

---------------------------------------------

Date: Fri, 2 Apr 2021 13:40:37 -0400
From: Ray Satiro <***@yahoo.com>
To: curl-***@cool.haxx.se
Subject: Re: Requesting Version Info for GSASL
Message-ID: <1ae789c1-e3dc-15be-e695-***@yahoo.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
I don't know to reply properly to this list, so this is a reply to: Ray Satiro
There is features flag CURL_VERSION_GSASL [1]. The gsasl version
should be in the version information but the version number is not
available separately. What does curl_version() show?
For me, on Windows, it doesn't show this flag, that why I was asking. Although I have to link against GSASL library now. So there definitely seems a dependency, which I want to transparently show in my applications using the lib.
#define GSASL_VERSION "1.10.0"
...which could be exposed to the curl version struct (curl_version_info_data) and wrapped inside
#ifdef USE_GSASL
...just as it is the case for the other version information stuff like NGHTTP2 in the file version.c.
Could be that I don't understand how to use it properly, but this seem missing from my (maybe limited) understanding.
To reply to the list you should reply to curl-***@cool.haxx.se which
it seems you did.

If libcurl was built with GSASL then that flag should be present and the
GSASL version should show in the dependency version string. Check
curl_version().


-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etique
Mac-Fly via curl-library
2021-04-03 04:17:47 UTC
Permalink
I've compiled a patch that should implement what I am requesting an attached this to this email. If As I don't know if textual patches are allowed in the list I'll also open an issue on GitHub.

Thanks for consideration, the reason I wrote in the other mail which was unfortunately a reply to the digets and not this message. :-)

----- Original Message -----
Date: Fri, 2 Apr 2021 13:40:37 -0400
From: Ray Satiro <***@yahoo.com>
To: curl-***@cool.haxx.se
Subject: Re: Requesting Version Info for GSASL
Message-ID: <1ae789c1-e3dc-15be-e695-***@yahoo.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
I don't know to reply properly to this list, so this is a reply to: Ray Satiro
There is features flag CURL_VERSION_GSASL [1]. The gsasl version
should be in the version information but the version number is not
available separately. What does curl_version() show?
For me, on Windows, it doesn't show this flag, that why I was asking. Although I have to link against GSASL library now. So there definitely seems a dependency, which I want to transparently show in my applications using the lib.
#define GSASL_VERSION "1.10.0"
...which could be exposed to the curl version struct (curl_version_info_data) and wrapped inside
#ifdef USE_GSASL
...just as it is the case for the other version information stuff like NGHTTP2 in the file version.c.
Could be that I don't understand how to use it properly, but this seem missing from my (maybe limited) understanding.
To reply to the list you should reply to curl-***@cool.haxx.se which
it seems you did.

If libcurl was built with GSASL then that flag should be present and the
GSASL version should show in the dependency version string. Check
curl_version().

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cool.haxx.se/pipermail/curl-library/attachments/20210402/b9e07513/attachment-0001.html>
Loading...