From 3f27542156125118800235c5ac1bac125fd7752c Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Sun, 15 Oct 2006 19:34:52 +0000 Subject: Merged frugalware changes. Added a few other minor things too, but there's alot to list. The diff should show you 8) --- src/pacman/download.h | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'src/pacman/download.h') diff --git a/src/pacman/download.h b/src/pacman/download.h index 8026df1f..45afa647 100644 --- a/src/pacman/download.h +++ b/src/pacman/download.h @@ -21,20 +21,16 @@ #ifndef _PM_DOWNLOAD_H #define _PM_DOWNLOAD_H -#include "list.h" +extern char sync_fnm[25]; +extern int offset; +extern struct timeval t0, t; +extern float rate; +extern int xfered1; +extern unsigned char eta_h, eta_m, eta_s; -/* Servers */ -typedef struct __server_t { - char *protocol; - char *server; - char *path; -} server_t; - -int downloadfiles(list_t *servers, const char *localpath, list_t *files); -int downloadfiles_forreal(list_t *servers, const char *localpath, - list_t *files, const char *mtime1, char *mtime2); - -char *fetch_pkgurl(char *target); +#ifdef __FTPLIB_H +int log_progress(netbuf *ctl, int xfered, void *arg); +#endif #endif /* _PM_DOWNLOAD_H */ -- cgit v1.2.3