]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
new fields in the progress struct
authorDaniel Stenberg <daniel@haxx.se>
Mon, 21 Feb 2000 23:51:38 +0000 (23:51 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 21 Feb 2000 23:51:38 +0000 (23:51 +0000)
lib/urldata.h

index fa4683f284e981223ac1f86ad12197578b2f5bab..c7fa230c51a22764854518c114156b2dd610550e 100644 (file)
@@ -110,6 +110,9 @@ struct Progress {
   int width; /* screen width at download start */
   int flags; /* see progress.h */
   struct timeval start;
+  double timespent;
+  double dlspeed;
+  double ulspeed;
 };
 
 struct UrlData {
@@ -175,9 +178,6 @@ struct UrlData {
   char *newurl; /* This can only be set if a Location: was in the
                   document headers */
 
-#ifdef MULTIDOC
-  struct MoreDoc *moredoc;  /* linked list of more docs to get */
-#endif
   struct HttpHeader *headers; /* linked list of extra headers */
   struct HttpPost *httppost;  /* linked list of POST data */
 
@@ -204,6 +204,9 @@ struct UrlData {
   char *headerbuff; /* allocated buffer to store headers in */
   int headersize;   /* size of the allocation */
 
+  char *writeinfo;  /* if non-NULL describes what to output on a successful
+                       completion */
+
   struct Progress progress;
 
 #define MAX_CURL_USER_LENGTH 128