Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/server.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-01-22 21:36:11 -0600
committerDan McGee <dan@archlinux.org>2008-02-24 20:21:58 -0600
commit3e8ae774bdbc8572613a22988476b6b4e7ef91fd (patch)
tree9caca1d86157928a2673ad643bf7e1a37ee9ac6c /lib/libalpm/server.h
parent143135e666f5564240868810f0b8f4bc46ff87b5 (diff)
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 <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/server.h')
-rw-r--r--lib/libalpm/server.h7
1 files changed, 0 insertions, 7 deletions
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 */