curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Embedded platforms (without FPU's), etc.

From: Philip Prindeville <philipp_subx_at_redfish-solutions.com>
Date: Mon, 2 Apr 2018 15:54:54 -0600

> On Apr 2, 2018, at 3:49 PM, Philip Prindeville <philipp_subx_at_redfish-solutions.com> wrote:
>
>>
>>
>>> Not sure why some values like bytes downloaded need to be “doubles”. Again, uint64_t would be ideal here.
>>
>> I think we offer most of those values as 'curl_off_t' numbers if you use the modern versions.
>
>
> Some of the platforms I have to use have regrettably old toolchains and run-times.
>
> The link https://curl.haxx.se/libcurl/c/CURLINFO_SIZE_DOWNLOAD.html says:
>
> CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_SIZE_DOWNLOAD, double *dlp);
>
> but maybe that’s not current.

Ah, you’re referring to CURLINFO_SIZE_DOWNLOAD_T… ding.

Sorry for being thick-headed.

-Philip

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-04-02