diff options
author | Dan McGee <dan@archlinux.org> | 2007-06-08 04:20:40 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-06-09 18:57:50 +0200 |
commit | 25c5b39d05cdb8856098429d0fa6f8da595d5af6 (patch) | |
tree | e6ec51c96f782f51f7e8e36bc59d8387fbc63f7b /src/pacman/conf.h | |
parent | a32ca90192ea2b2df2fadb820c9e47bbaec93151 (diff) | |
download | pacman-25c5b39d05cdb8856098429d0fa6f8da595d5af6.tar.gz pacman-25c5b39d05cdb8856098429d0fa6f8da595d5af6.tar.xz |
Fix up things after the last few changes
* Readd default logmask of ERROR and WARNING
* Remove DOWNLOAD log level as it no longer applies
* Add 'no targets' logic back in where it applies
* Switch some prints in parseconfig to ERROR
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/conf.h')
-rw-r--r-- | src/pacman/conf.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/pacman/conf.h b/src/pacman/conf.h index 49758418..74d83e69 100644 --- a/src/pacman/conf.h +++ b/src/pacman/conf.h @@ -63,6 +63,17 @@ typedef struct __config_t { unsigned short showsize; /* show individual package sizes */ } config_t; +/* Operations */ +enum { + PM_OP_MAIN = 1, + PM_OP_ADD, + PM_OP_REMOVE, + PM_OP_UPGRADE, + PM_OP_QUERY, + PM_OP_SYNC, + PM_OP_DEPTEST +}; + config_t *config_new(void); int config_free(config_t *config); |