projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ed78f6
)
added #include <timeval.h> on Jörn's advice
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 16 Feb 2000 00:02:40 +0000
(
00:02
+0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 16 Feb 2000 00:02:40 +0000
(
00:02
+0000)
added lastshow to the progress struct
lib/urldata.h
patch
|
blob
|
history
diff --git
a/lib/urldata.h
b/lib/urldata.h
index
3f82988
..
fa4683f
100644
(file)
--- 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;