#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 {
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 */