index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-07-22 12:01:58 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-28 04:52:37 -0500 |
commit | bd83c8e7562a2d6794d4322845c23cc21985979a (patch) | |
tree | 855516c9d5ee113dfd238c894d936cd18c2253fc /src/pacman/util.h | |
parent | 40a264478e65c652f863b3e43b0fc8aa10f0bd19 (diff) |
-rw-r--r-- | src/pacman/util.h | 7 |
diff --git a/src/pacman/util.h b/src/pacman/util.h index 6a26b086..95b0d991 100644 --- a/src/pacman/util.h +++ b/src/pacman/util.h @@ -39,6 +39,11 @@ /* update speed for the fill_progress based functions */ #define UPDATE_SPEED_SEC 0.2f +typedef struct _pm_target_t { + alpm_pkg_t *remove; + alpm_pkg_t *install; +} pm_target_t; + void trans_init_error(void); int trans_init(alpm_transflag_t flags, int check_valid); int trans_release(void); @@ -59,7 +64,7 @@ int table_display(const char *title, const alpm_list_t *header, const alpm_list_ void list_display(const char *title, const alpm_list_t *list); void list_display_linebreak(const char *title, const alpm_list_t *list); void signature_display(const char *title, alpm_siglist_t *siglist); -void display_targets(const alpm_list_t *pkgs, int install); +void display_targets(void); int str_cmp(const void *s1, const void *s2); void display_new_optdepends(alpm_pkg_t *oldpkg, alpm_pkg_t *newpkg); void display_optdepends(alpm_pkg_t *pkg); |