summaryrefslogtreecommitdiffstats
path: root/src/pacman/util.h
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2008-07-31 16:35:21 +0200
committerDan McGee <dan@archlinux.org>2008-08-23 15:38:25 +0200
commit96e023c7bd0b1069878667278a45a34476c42472 (patch)
treed848f573ad7ccf51e986950cfb6ebb84ef8bfb12 /src/pacman/util.h
parente27a8c9ae323c275b0c3503d6a6ea18b639f4dc6 (diff)
downloadpacman-96e023c7bd0b1069878667278a45a34476c42472.tar.gz
pacman-96e023c7bd0b1069878667278a45a34476c42472.tar.xz
pacman: print optdepends on install and upgrade.
This implements FS#10630. 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 209b2424..f94f0aed 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_optdepends(pmpkg_t *pkg);
int yesno(short preset, char *fmt, ...);
int pm_printf(pmloglevel_t level, const char *format, ...) __attribute__((format(printf,2,3)));
int pm_fprintf(FILE *stream, pmloglevel_t level, const char *format, ...) __attribute__((format(printf,3,4)));