summaryrefslogtreecommitdiffstats
path: root/src/pacman/conf.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-06-04 18:12:13 +0200
committerDan McGee <dan@archlinux.org>2007-06-05 05:10:49 +0200
commit6949ab97613de3622a4c392a3d33080164eec794 (patch)
tree78ea244d0a0ba38edc04fa8ca7757df767e1d6eb /src/pacman/conf.h
parent65662315b6d180f7066f6578c55a9feec7250114 (diff)
downloadpacman-6949ab97613de3622a4c392a3d33080164eec794.tar.gz
pacman-6949ab97613de3622a4c392a3d33080164eec794.tar.xz
Move three config options out of the backend
Move chomp, usecolor, and showsize out of the backend and into the pacman frontend as they are pacman-specific options and not related to the behavior of libalpm. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/conf.h')
-rw-r--r--src/pacman/conf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pacman/conf.h b/src/pacman/conf.h
index 4fff0abb..8c55a2fc 100644
--- a/src/pacman/conf.h
+++ b/src/pacman/conf.h
@@ -54,6 +54,10 @@ typedef struct __config_t {
pmtransflag_t flags;
unsigned short noask;
unsigned int ask;
+ /* conf file options */
+ unsigned short chomp; /* I Love Candy! */
+ unsigned short usecolor; /* enable colorful output */
+ unsigned short showsize; /* show individual package sizes */
} config_t;
config_t *config_new(void);