From 3e8ae774bdbc8572613a22988476b6b4e7ef91fd Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 22 Jan 2008 21:36:11 -0600 Subject: Move download code out of server.c This is the first in what will be a series of patches to clean up the current download code in libalpm. Start by moving download code out of server.c and into download.c. Signed-off-by: Dan McGee --- lib/libalpm/server.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lib/libalpm/server.h') diff --git a/lib/libalpm/server.h b/lib/libalpm/server.h index b82fcb09..b84b90b6 100644 --- a/lib/libalpm/server.h +++ b/lib/libalpm/server.h @@ -31,15 +31,8 @@ struct __pmserver_t { struct url *s_url; }; -#define PM_DLBUF_LEN (1024 * 10) - pmserver_t *_alpm_server_new(const char *url); void _alpm_server_free(pmserver_t *server); -int _alpm_downloadfiles(alpm_list_t *servers, const char *localpath, - alpm_list_t *files, int *dl_total, unsigned long totalsize); -int _alpm_downloadfiles_forreal(alpm_list_t *servers, const char *localpath, - alpm_list_t *files, time_t mtime1, time_t *mtime2, int *dl_total, - unsigned long totalsize); #endif /* _ALPM_SERVER_H */ -- cgit v1.2.3