summaryrefslogtreecommitdiffstats
path: root/src/pacman/util.h
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2008-08-24 02:29:10 +0200
committerDan McGee <dan@archlinux.org>2008-08-26 01:06:51 +0200
commit9dbe5c9d1ee5fb00f25515dfb5a2feb3ae6ebd59 (patch)
tree9f071d996ef5652d7744144374adbfc30a92d9ae /src/pacman/util.h
parenta06d0de104d2f03c19b917ea47394d8d6be89a9a (diff)
downloadpacman-9dbe5c9d1ee5fb00f25515dfb5a2feb3ae6ebd59.tar.gz
pacman-9dbe5c9d1ee5fb00f25515dfb5a2feb3ae6ebd59.tar.xz
pacman : smarter optdepends handling.
During an upgrade, only the new optdepends will be displayed, to only keep the useful information and not clutter pacman output too much. The whole optdepends list is always available with -Si / -Qi. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/util.h')
-rw-r--r--src/pacman/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pacman/util.h b/src/pacman/util.h
index 66a9c4e7..cdb12bd6 100644
--- a/src/pacman/util.h
+++ b/src/pacman/util.h
@@ -54,6 +54,7 @@ void list_display(const char *title, const alpm_list_t *list);
void list_display_linebreak(const char *title, const alpm_list_t *list);
void display_targets(const alpm_list_t *pkgs, int install);
void display_synctargets(const alpm_list_t *syncpkgs);
+void display_new_optdepends(pmpkg_t *oldpkg, pmpkg_t *newpkg);
void display_optdepends(pmpkg_t *pkg);
int yesno(char *fmt, ...);
int noyes(char *fmt, ...);