curl-library
Re: A new callback function: XFERINFO ?
From: NSRT Mail account. <joecool22us_at_yahoo.com>
Date: Sun, 23 Jun 2013 13:12:59 -0700 (PDT)
Date: Sun, 23 Jun 2013 13:12:59 -0700 (PDT)
>Right, they _could_ use doubles for this but we already use curl_off_t
internally...
Yes, so I agree with you, curl_off_t should be offered, and should be the functions used. I'd even deprecate all but CURLINFO_SPEED_DOWNLOAD and CURLINFO_SPEED_UPLOAD. With these two, I'd consider keeping them around, in case somone wants to make a more accurate speed counter internally which uses doubles.
-Nach
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-06-23