Print the package name corresponding to a failed script.
[oweals/opkg-lede.git] / libopkg / opkg_remove.h
index d4f234f5186b4c1d7cdd42d515c5510a2363f208..f0c45d283ceda45edcdd672a00a385106c29a3f8 100644 (file)
 #include "pkg.h"
 #include "opkg_conf.h"
 
-int opkg_remove_pkg(opkg_conf_t *conf, pkg_t *pkg,int message);
-int opkg_purge_pkg(opkg_conf_t *conf, pkg_t *pkg);
-int possible_broken_removal_of_packages (opkg_conf_t *conf, pkg_t *pkg);
-int pkg_has_installed_dependents(opkg_conf_t *conf, abstract_pkg_t *parent_apkg, pkg_t *pkg, abstract_pkg_t *** pdependents);
-int remove_data_files_and_list(opkg_conf_t *conf, pkg_t *pkg);
-int remove_maintainer_scripts_except_postrm (opkg_conf_t *conf, pkg_t *pkg);
-int remove_postrm (opkg_conf_t *conf, pkg_t *pkg);
+int opkg_remove_pkg(pkg_t *pkg,int message);
+int pkg_has_installed_dependents(pkg_t *pkg, abstract_pkg_t *** pdependents);
+void remove_data_files_and_list(pkg_t *pkg);
+void remove_maintainer_scripts(pkg_t *pkg);
 
 
 #endif