summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/server.h
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-10-21 03:38:59 +0200
committerAaron Griffin <aaron@archlinux.org>2006-10-21 03:38:59 +0200
commit454cf699a5eef64ccdee7b2fa6bcef610136d823 (patch)
tree7a6f811f14d39bcda86e4191001f2c9eecd003d5 /lib/libalpm/server.h
parent1568fd98d882add6c91255b331592691f399bd3f (diff)
downloadpacman-454cf699a5eef64ccdee7b2fa6bcef610136d823.tar.gz
pacman-454cf699a5eef64ccdee7b2fa6bcef610136d823.tar.xz
More extern moving - keep extern decls in the headers makes for easier/better
reuse.
Diffstat (limited to 'lib/libalpm/server.h')
-rw-r--r--lib/libalpm/server.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/libalpm/server.h b/lib/libalpm/server.h
index 85d390d6..f3dad39b 100644
--- a/lib/libalpm/server.h
+++ b/lib/libalpm/server.h
@@ -22,6 +22,7 @@
#define _ALPM_SERVER_H
#include "list.h"
+#include <ftplib.h>
#define FREESERVER(p) \
do { \
@@ -48,6 +49,16 @@ int _alpm_downloadfiles_forreal(pmlist_t *servers, const char *localpath,
char *_alpm_fetch_pkgurl(char *target);
+extern FtpCallback pm_dlcb;
+
+/* progress bar */
+extern char *pm_dlfnm;
+extern int *pm_dloffset;
+extern struct timeval *pm_dlt0, *pm_dlt;
+extern float *pm_dlrate;
+extern int *pm_dlxfered1;
+extern unsigned char *pm_dleta_h, *pm_dleta_m, *pm_dleta_s;
+
#endif /* _ALPM_SERVER_H */
/* vim: set ts=2 sw=2 noet: */