summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/db.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/db.h')
-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;