summaryrefslogtreecommitdiffstats
path: root/lib/progress.h
diff options
context:
space:
mode:
authorCurl Upstream <curl-library@cool.haxx.se>2016-11-02 06:34:06 (GMT)
committerBrad King <brad.king@kitware.com>2016-12-05 16:39:32 (GMT)
commit93cc249f3dd7ecd621cd063e4c08bbdb54d971e8 (patch)
tree4cd65530c3a67921921256010ae5ef0a61596e40 /lib/progress.h
parent202adcfe056681109fe61569ecdb3bd69f0b4f97 (diff)
downloadCMake-93cc249f3dd7ecd621cd063e4c08bbdb54d971e8.zip
CMake-93cc249f3dd7ecd621cd063e4c08bbdb54d971e8.tar.gz
CMake-93cc249f3dd7ecd621cd063e4c08bbdb54d971e8.tar.bz2
curl 2016-11-02 (3c561c65)
Code extracted from: https://github.com/curl/curl.git at commit 3c561c657c2f0e553b19115a506592a8bbd744bc (curl-7_51_0).
Diffstat (limited to 'lib/progress.h')
-rw-r--r--lib/progress.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/progress.h b/lib/progress.h
index a77b7ce..155ff04 100644
--- a/lib/progress.h
+++ b/lib/progress.h
@@ -49,7 +49,11 @@ void Curl_pgrsSetUploadCounter(struct Curl_easy *data, curl_off_t size);
int Curl_pgrsUpdate(struct connectdata *);
void Curl_pgrsResetTimesSizes(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 timeval start,
+ struct timeval now);
/* Don't show progress for sizes smaller than: */
#define LEAST_SIZE_PROGRESS BUFSIZE