summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl/lib/progress.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-05-21 13:52:06 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-05-21 13:53:06 (GMT)
commit722056372e4ae640c1e61ac1dabfdd8a2737a35f (patch)
tree505f7457bc70f8f72d161e2c4660b6387713a702 /Utilities/cmcurl/lib/progress.h
parent4d6f4500dfbb4ea46c0ee8b736979305d3e9c0d8 (diff)
parent3e913b819d8d8118d5e8dc3b7289f622e9ca92e5 (diff)
downloadCMake-722056372e4ae640c1e61ac1dabfdd8a2737a35f.zip
CMake-722056372e4ae640c1e61ac1dabfdd8a2737a35f.tar.gz
CMake-722056372e4ae640c1e61ac1dabfdd8a2737a35f.tar.bz2
Merge topic 'update-curl'
3e913b819d Merge branch 'upstream-curl' into update-curl d431136e02 curl 2018-05-15 (cb013830) f3c73b878c curl: Update script to get curl 7.60.0 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2091
Diffstat (limited to 'Utilities/cmcurl/lib/progress.h')
-rw-r--r--Utilities/cmcurl/lib/progress.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/Utilities/cmcurl/lib/progress.h b/Utilities/cmcurl/lib/progress.h
index 9333ab2..2baa925 100644
--- a/Utilities/cmcurl/lib/progress.h
+++ b/Utilities/cmcurl/lib/progress.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -46,14 +46,15 @@ void Curl_pgrsSetDownloadSize(struct Curl_easy *data, curl_off_t size);
void Curl_pgrsSetUploadSize(struct Curl_easy *data, curl_off_t size);
void Curl_pgrsSetDownloadCounter(struct Curl_easy *data, curl_off_t size);
void Curl_pgrsSetUploadCounter(struct Curl_easy *data, curl_off_t size);
+void Curl_ratelimit(struct Curl_easy *data, struct curltime now);
int Curl_pgrsUpdate(struct connectdata *);
void Curl_pgrsResetTransferSizes(struct Curl_easy *data);
void Curl_pgrsTime(struct Curl_easy *data, timerid timer);
-long Curl_pgrsLimitWaitTime(curl_off_t cursize,
- curl_off_t startsize,
- curl_off_t limit,
- struct curltime start,
- struct curltime now);
+timediff_t Curl_pgrsLimitWaitTime(curl_off_t cursize,
+ curl_off_t startsize,
+ curl_off_t limit,
+ struct curltime start,
+ struct curltime now);
/* Don't show progress for sizes smaller than: */
#define LEAST_SIZE_PROGRESS BUFSIZE