summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/dload.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/dload.h')
-rw-r--r--lib/libalpm/dload.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/libalpm/dload.h b/lib/libalpm/dload.h
index 3945d245..341a4a1a 100644
--- a/lib/libalpm/dload.h
+++ b/lib/libalpm/dload.h
@@ -25,18 +25,12 @@
#include <time.h>
-/* internal structure for communicating with curl progress callback */
-struct fileinfo {
+struct dload_payload {
alpm_handle_t *handle;
const char *filename;
char *cd_filename;
- double initial_size;
-};
-
-struct dload_payload {
- alpm_handle_t *handle;
- char *filename;
char *fileurl;
+ double initial_size;
long max_size;
int force;
int allow_resume;