1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

new fields in the progress struct

This commit is contained in:
Daniel Stenberg 2000-02-21 23:51:38 +00:00
parent 10f958029a
commit dd11333fce

View File

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