]> sjero.net Git - wget/blobdiff - src/retr.h
[svn] Move extern declarations to .h files.
[wget] / src / retr.h
index 0cc9ebd1acf0f55fabc67e3065fa8c1d1e40ee79..305ced4f94bee212d871a750144e2eb26dae48e0 100644 (file)
@@ -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 */