cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl_progress_callback with double?

From: Andreas Volz <lists_at_brachttal.net>
Date: Wed, 2 Jan 2008 18:41:56 +0100

Hello,

any ideas why the curl_progress_callback has double parameters?
Wouldn't a size_t or some other integral data type not fit better? I
don't understand the reason for double.

typedef int (*curl_progress_callback)(void *clientp,
                                      double dltotal,
                                      double dlnow,
                                      double ultotal,
                                      double ulnow)

regards
Andreas
Received on 2008-01-04