Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/dload.h
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-06-30 22:00:07 -0400
committerDave Reisner <dreisner@archlinux.org>2011-07-05 23:00:03 -0400
commit57eac093c40b0a54ab5d9f14519b9e44140e0c3d (patch)
treeafd30f00db4cd405c06811546c6f1d66ac4b3c29 /lib/libalpm/dload.h
parent3eec745910bb908717a8b4ed7f5b630a92a5c9eb (diff)
absorb fileinfo struct into dload_payload
This transitional struct becomes delicious noms for dload_payload. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
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;