summaryrefslogtreecommitdiff
path: root/lib/libalpm/dload.h
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-09-29 12:17:16 -0400
committerDan McGee <dan@archlinux.org>2011-09-29 12:58:37 -0500
commitad8d3ceb898716cf2642fb71963c0ef5a490621e (patch)
tree8f92f670b49058e833571a4c2f66d15eedcdb250 /lib/libalpm/dload.h
parent775b94e64903057a75071491670013975fc3ecb2 (diff)
downloadpacman-ad8d3ceb898716cf2642fb71963c0ef5a490621e.tar.xz
move prevprogress onto payload handle
This is a poor place for it, and it will likely move again in the future, but it's better to have it here than as a static variable. Initialization of this variable is now no longer necessary as its zeroed on creation of the payload struct. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/dload.h')
-rw-r--r--lib/libalpm/dload.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/dload.h b/lib/libalpm/dload.h
index 9be29bc8..5442c0e2 100644
--- a/lib/libalpm/dload.h
+++ b/lib/libalpm/dload.h
@@ -35,6 +35,7 @@ struct dload_payload {
char *fileurl;
off_t initial_size;
off_t max_size;
+ off_t prevprogress;
int force;
int allow_resume;
int errors_ok;