aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-02-16 00:02:40 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-02-16 00:02:40 +0000
commitf4898981b01a31f227f24c0aaa527974a0789dce (patch)
tree8d3202449d9e0a85b1ceac15ee91df9eee008f51
parent8ed78f6c380509083a2b830801f8353f59f48fef (diff)
added #include <timeval.h> on Jörn's advice
added lastshow to the progress struct
-rw-r--r--lib/urldata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 3f8298829..fa4683f28 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -87,6 +87,7 @@
#endif
#endif
+#include "timeval.h"
/* Download buffer size, keep it fairly big for speed reasons */
#define BUFSIZE (1024*50)
@@ -96,6 +97,8 @@
#define HEADERSIZE 256
struct Progress {
+ long lastshow; /* time() of the last displayed progress meter or NULL to
+ force redraw at next call */
double size_dl;
double size_ul;
double downloaded;