diff options
author | Jonathan Conder <j@skurvy.no-ip.org> | 2010-05-06 10:07:37 +1200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-05-05 18:15:52 -0500 |
commit | df99495b826eab9f25ceeb8f2643565af8818c20 (patch) | |
tree | 294f093f72bdf827df0f3ef439b291e2783d318c /lib/libalpm/db.h | |
parent | d485c0370f554758a28eff2cc32b2cc9c72a4604 (diff) | |
download | 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.h | 3 |
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; |