summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/remove.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-03 19:53:53 +0200
committerDan McGee <dan@archlinux.org>2011-06-03 19:53:53 +0200
commitd2f05f72f02e15164f2d83347317f15c7e8c4fb9 (patch)
treef017b96c52bf3cbbb7b69b67dd95217374955e87 /lib/libalpm/remove.h
parent307a6de17a3bca9f8666b33aa3fb9a8dd88c300b (diff)
downloadpacman-d2f05f72f02e15164f2d83347317f15c7e8c4fb9.tar.gz
pacman-d2f05f72f02e15164f2d83347317f15c7e8c4fb9.tar.xz
Remove global handle from remove.c
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/remove.h')
-rw-r--r--lib/libalpm/remove.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libalpm/remove.h b/lib/libalpm/remove.h
index a67e37a1..5cab526a 100644
--- a/lib/libalpm/remove.h
+++ b/lib/libalpm/remove.h
@@ -24,10 +24,11 @@
#include "alpm_list.h"
#include "trans.h"
-int _alpm_remove_prepare(pmtrans_t *trans, pmdb_t *db, alpm_list_t **data);
-int _alpm_remove_packages(pmtrans_t *trans, pmdb_t *db);
+int _alpm_remove_prepare(pmhandle_t *handle, alpm_list_t **data);
+int _alpm_remove_packages(pmhandle_t *handle);
-int _alpm_upgraderemove_package(pmpkg_t *oldpkg, pmpkg_t *newpkg, pmtrans_t *trans);
+int _alpm_upgraderemove_package(pmhandle_t *handle,
+ pmpkg_t *oldpkg, pmpkg_t *newpkg);
#endif /* _ALPM_REMOVE_H */