summaryrefslogtreecommitdiffstats
path: root/src/pacman/conf.h
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-04 09:26:52 +0100
committerAaron Griffin <aaron@archlinux.org>2007-02-04 09:26:52 +0100
commit63000584b6442412dbcdf1dd867e09fbde404afe (patch)
tree5ac1028f9aaf0ff5a75d9d2144a9ecc337dc2211 /src/pacman/conf.h
parentb2da4b42344444dc22f1e5b01fb4cd09033adc1d (diff)
downloadpacman-63000584b6442412dbcdf1dd867e09fbde404afe.tar.gz
pacman-63000584b6442412dbcdf1dd867e09fbde404afe.tar.xz
Implemented a crappy version of -Qu (query upgrades). This simply outputs the
packages to be upgraded in a -Su operation. Much of the code is duplicated from sync.c. TODO: move the implementation to upgrades.c, and reimplement the sync_sysupgrade function in terms of this: trans->packages = alpm_get_upgrades();
Diffstat (limited to 'src/pacman/conf.h')
-rw-r--r--src/pacman/conf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pacman/conf.h b/src/pacman/conf.h
index ddd20ffc..60e3661b 100644
--- a/src/pacman/conf.h
+++ b/src/pacman/conf.h
@@ -43,6 +43,7 @@ typedef struct __config_t {
unsigned short op_q_owns;
unsigned short op_q_search;
unsigned short op_q_changelog;
+ unsigned short op_q_upgrade;
unsigned short op_s_clean;
unsigned short op_s_dependsonly;
unsigned short op_s_downloadonly;