cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: A new callback function: XFERINFO ?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 23 Jun 2013 13:16:26 +0200 (CEST)

On Sun, 23 Jun 2013, NSRT Mail account. wrote:

> What about getinfo?

> CURLINFO_SIZE_UPLOAD

> CURLINFO_SIZE_DOWNLOAD
>
> These should be curl_off_t as well.

Yes probably, and in the *getinfo() department we also have a bunch of more
size and speed counters we can provide as curl_off_t that are doubles today:

CURLINFO_SPEED_DOWNLOAD
CURLINFO_SPEED_UPLOAD
CURLINFO_CONTENT_LENGTH_DOWNLOAD
CURLINFO_CONTENT_LENGTH_UPLOAD

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-06-23