diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-04-16 07:59:20 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-04-16 07:59:20 +0000 |
commit | 62d205a2ec38ed54e359625d69a7210dc274f093 (patch) | |
tree | daafe4a6819326a2a00694a6352844770dfef2b4 /lib/progress.h | |
parent | 29e873b12d9723a7becb6fb2a06f7f346d3e3157 (diff) | |
download | curl-62d205a2ec38ed54e359625d69a7210dc274f093.tar.gz |
Dirk Manske brought the patch that introduces two new CURLINFO_* values:
CURLINFO_REDIRECT_TIME and CURLINFO_REDIRECT_COUNT.
Diffstat (limited to 'lib/progress.h')
-rw-r--r-- | lib/progress.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/progress.h b/lib/progress.h index 409e5d51d..2dc19a73e 100644 --- a/lib/progress.h +++ b/lib/progress.h @@ -34,6 +34,7 @@ typedef enum { TIMER_STARTTRANSFER, TIMER_POSTRANSFER, TIMER_STARTSINGLE, + TIMER_REDIRECT, TIMER_LAST /* must be last */ } timerid; @@ -44,6 +45,7 @@ void Curl_pgrsSetUploadSize(struct SessionHandle *data, double size); void Curl_pgrsSetDownloadCounter(struct SessionHandle *data, double size); void Curl_pgrsSetUploadCounter(struct SessionHandle *data, double size); int Curl_pgrsUpdate(struct connectdata *); +void Curl_pgrsResetTimes(struct SessionHandle *data); void Curl_pgrsTime(struct SessionHandle *data, timerid timer); |