aboutsummaryrefslogtreecommitdiff
path: root/lib/progress.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-10 16:20:33 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-10 16:20:33 +0000
commit0d1fc73f2119e1f75f58b32cdc9f9d45fa71ac9c (patch)
treee50750dfe60d0c65b1a2247d6aa165a46d6b47d7 /lib/progress.h
parent50a185356082f800e760ceb932c062bf194145d7 (diff)
Use more curl_off_t variables when doing the progress meter calculations and
argument passing and try to convert to double only when providing data to the external world.
Diffstat (limited to 'lib/progress.h')
-rw-r--r--lib/progress.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/progress.h b/lib/progress.h
index 93aed2b64..dcfcaf7f3 100644
--- a/lib/progress.h
+++ b/lib/progress.h
@@ -40,10 +40,10 @@ typedef enum {
void Curl_pgrsDone(struct connectdata *);
void Curl_pgrsStartNow(struct SessionHandle *data);
-void Curl_pgrsSetDownloadSize(struct SessionHandle *data, double size);
-void Curl_pgrsSetUploadSize(struct SessionHandle *data, double size);
-void Curl_pgrsSetDownloadCounter(struct SessionHandle *data, double size);
-void Curl_pgrsSetUploadCounter(struct SessionHandle *data, double size);
+void Curl_pgrsSetDownloadSize(struct SessionHandle *data, curl_off_t size);
+void Curl_pgrsSetUploadSize(struct SessionHandle *data, curl_off_t size);
+void Curl_pgrsSetDownloadCounter(struct SessionHandle *data, curl_off_t size);
+void Curl_pgrsSetUploadCounter(struct SessionHandle *data, curl_off_t size);
int Curl_pgrsUpdate(struct connectdata *);
void Curl_pgrsResetTimes(struct SessionHandle *data);
void Curl_pgrsTime(struct SessionHandle *data, timerid timer);