X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Fretr.h;h=0543447363d03aef3c6578bd1c7bedc1139f4526;hb=d9fea91a0a319e348adb504bd3edff148ff3d8a0;hp=0ceb0eab258402fdcb126aa55d9a3f0214f7f596;hpb=b2be7522c745827b521a8ed535201427df32eec7;p=wget diff --git a/src/retr.h b/src/retr.h index 0ceb0eab..05434473 100644 --- a/src/retr.h +++ b/src/retr.h @@ -30,24 +30,23 @@ so, delete this exception statement from your version. */ #ifndef RETR_H #define RETR_H -#include "rbuf.h" +char *fd_read_line PARAMS ((int)); +char *fd_read_head PARAMS ((int)); -int get_contents PARAMS ((int, FILE *, long *, long, long, struct rbuf *, - int, long *)); +int fd_read_body PARAMS ((int, FILE *, long *, long, long, int, double *)); uerr_t retrieve_url PARAMS ((const char *, char **, char **, const char *, int *)); uerr_t retrieve_from_file PARAMS ((const char *, int, int *)); -char *retr_rate PARAMS ((long, long, int)); -double calc_rate PARAMS ((long, long, int *)); +char *retr_rate PARAMS ((long, double, int)); +double calc_rate PARAMS ((long, double, int *)); void printwhat PARAMS ((int, int)); -void downloaded_increase PARAMS ((unsigned long)); -int downloaded_exceeds_quota PARAMS ((void)); - void sleep_between_retrievals PARAMS ((int)); +void rotate_backups PARAMS ((const char *)); + /* Because there's no http.h. */ struct url;