X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fretr.h;h=305ced4f94bee212d871a750144e2eb26dae48e0;hp=0cc9ebd1acf0f55fabc67e3065fa8c1d1e40ee79;hb=2447fb9a9b85083c1e6fa54d0a18bdf3962fab1f;hpb=40fc711db6ebc891e41f15d2052847432e991a21 diff --git a/src/retr.h b/src/retr.h index 0cc9ebd1..305ced4f 100644 --- a/src/retr.h +++ b/src/retr.h @@ -30,8 +30,12 @@ so, delete this exception statement from your version. */ #ifndef RETR_H #define RETR_H +/* These global vars should be made static to retr.c and exported via + functions! */ extern SUM_SIZE_INT total_downloaded_bytes; extern double total_download_time; +extern FILE *output_stream; +extern bool output_stream_regular; /* Flags for fd_read_body. */ enum { @@ -57,13 +61,4 @@ void sleep_between_retrievals (int); void rotate_backups (const char *); -/* Because there's no http.h. */ - -struct url; - -uerr_t http_loop (struct url *, char **, char **, const char *, int *, - struct url *); -void save_cookies (void); - - #endif /* RETR_H */