summaryrefslogtreecommitdiffstats
path: root/src/pacman/conf.h
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-04-26 17:53:47 +0200
committerAllan McRae <allan@archlinux.org>2015-01-21 05:27:46 +0100
commit95121cc4f1b63fccaa27dfb567e5a2dfa628671e (patch)
tree4c7a232f1eaef3391ac340573dab653091ea5a55 /src/pacman/conf.h
parent2aa85c3bfdb17a11213495558c493bc68408efe7 (diff)
downloadpacman-95121cc4f1b63fccaa27dfb567e5a2dfa628671e.tar.gz
pacman-95121cc4f1b63fccaa27dfb567e5a2dfa628671e.tar.xz
conf.c: use masks for siglevel inheritance
This will allow pacman to parse its config file in a single pass and removes the need for the *_SET siglevels in alpm that were only required for pacman's siglevel inheritance. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Diffstat (limited to 'src/pacman/conf.h')
-rw-r--r--src/pacman/conf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pacman/conf.h b/src/pacman/conf.h
index e1d13379..3eae363f 100644
--- a/src/pacman/conf.h
+++ b/src/pacman/conf.h
@@ -38,6 +38,7 @@ typedef struct __config_repo_t {
alpm_list_t *servers;
alpm_db_usage_t usage;
alpm_siglevel_t siglevel;
+ alpm_siglevel_t siglevel_mask;
} config_repo_t;
typedef struct __config_t {
@@ -94,6 +95,10 @@ typedef struct __config_t {
alpm_siglevel_t localfilesiglevel;
alpm_siglevel_t remotefilesiglevel;
+ alpm_siglevel_t siglevel_mask;
+ alpm_siglevel_t localfilesiglevel_mask;
+ alpm_siglevel_t remotefilesiglevel_mask;
+
/* conf file options */
/* I Love Candy! */
unsigned short chomp;