diff options
author | Dan McGee <dan@archlinux.org> | 2011-04-15 18:41:49 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-04-15 18:41:49 -0500 |
commit | efd8ae483fe587feccd32c90fbee474aa19a5557 (patch) | |
tree | 02dfc2f4597d69dcaa18050b604f5c1df5450cd4 /lib/libalpm/remove.c | |
parent | 202ade1398ca57070e56de24c3639f3048ecd784 (diff) | |
parent | 21a881ec6875dccf42bd602496fa93c5a61f2640 (diff) | |
download | pacman-efd8ae483fe587feccd32c90fbee474aa19a5557.tar.xz |
Merge branch 'maint'
Conflicts:
lib/libalpm/alpm.h
lib/libalpm/trans.c
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/remove.c')
-rw-r--r-- | lib/libalpm/remove.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index a01349ed..ef9d40e1 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -129,6 +129,14 @@ static void remove_prepare_keep_needed(pmtrans_t *trans, pmdb_t *db, } } +/** Transaction preparation for remove actions. + * This functions takes a pointer to a alpm_list_t which will be + * filled with a list of pmdepmissing_t* objects representing + * the packages blocking the transaction. + * @param trans the transaction object + * @param db the database of local packages + * @param data a pointer to an alpm_list_t* to fill + */ int _alpm_remove_prepare(pmtrans_t *trans, pmdb_t *db, alpm_list_t **data) { alpm_list_t *lp; |