summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/db.h
diff options
context:
space:
mode:
authorJonathan Conder <j@skurvy.no-ip.org>2010-05-06 00:07:37 +0200
committerDan McGee <dan@archlinux.org>2010-05-06 01:15:52 +0200
commitdf99495b826eab9f25ceeb8f2643565af8818c20 (patch)
tree294f093f72bdf827df0f3ef439b291e2783d318c /lib/libalpm/db.h
parentd485c0370f554758a28eff2cc32b2cc9c72a4604 (diff)
downloadpacman-df99495b826eab9f25ceeb8f2643565af8818c20.tar.gz
pacman-df99495b826eab9f25ceeb8f2643565af8818c20.tar.xz
Compute package download size outside _alpm_sync_prepare
And add a new info level for this piece of data. Signed-off-by: Jonathan Conder <j@skurvy.no-ip.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.h')
-rw-r--r--lib/libalpm/db.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h
index 9b78ad42..1851b5c9 100644
--- a/lib/libalpm/db.h
+++ b/lib/libalpm/db.h
@@ -34,7 +34,8 @@ typedef enum _pmdbinfrq_t {
INFRQ_FILES = (1 << 3),
INFRQ_SCRIPTLET = (1 << 4),
INFRQ_DELTAS = (1 << 5),
- /* ALL should be sum of all above */
+ INFRQ_DSIZE = (1 << 6),
+ /* ALL should be info stored in the package or database */
INFRQ_ALL = 0x3F
} pmdbinfrq_t;