summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2014-01-02 12:37:06 -0600
committerAllan McRae <allan@archlinux.org>2014-01-06 14:38:50 +1000
commite20500363582cae3b4dd285adadc4dfdf0b715d2 (patch)
treed51bf0850e5396ecb803eaecd540c33fb2e18471
parent3bb3b1555a5456aab4a7d51ea695ddb728fa8079 (diff)
downloadpacman-e20500363582cae3b4dd285adadc4dfdf0b715d2.tar.xz
Clear up definition of INFRQ_ALL
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--lib/libalpm/db.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h
index 1db2ca1c..9bfa24f4 100644
--- a/lib/libalpm/db.h
+++ b/lib/libalpm/db.h
@@ -32,13 +32,14 @@
/* Database entries */
typedef enum _alpm_dbinfrq_t {
- INFRQ_BASE = 1,
+ INFRQ_BASE = (1 << 0),
INFRQ_DESC = (1 << 1),
INFRQ_FILES = (1 << 2),
INFRQ_SCRIPTLET = (1 << 3),
INFRQ_DSIZE = (1 << 4),
/* ALL should be info stored in the package or database */
- INFRQ_ALL = 0x1F,
+ INFRQ_ALL = INFRQ_BASE | INFRQ_DESC | INFRQ_FILES |
+ INFRQ_SCRIPTLET | INFRQ_DSIZE,
INFRQ_ERROR = (1 << 31)
} alpm_dbinfrq_t;