Implement support to update required_by objs when removing a pkg.

--HG--
extra : convert_revision : 405986d806ff23ce6348b22a2d7c48e0820ab1b9
This commit is contained in:
Juan RP
2009-02-27 16:03:25 +01:00
parent a711ace8f7
commit d9cc1d6b8f
8 changed files with 169 additions and 96 deletions

View File

@@ -35,7 +35,8 @@ int xbps_register_pkg(prop_dictionary_t, const char *, const char *,
const char *, bool);
int xbps_unpack_binary_pkg(prop_dictionary_t, prop_dictionary_t,
const char *, int);
int xbps_update_pkg_requiredby(prop_array_t, prop_dictionary_t);
int xbps_requiredby_pkg_add(prop_array_t, prop_dictionary_t);
int xbps_requiredby_pkg_remove(const char *);
int xbps_find_deps_in_pkg(prop_dictionary_t);
prop_dictionary_t xbps_get_pkg_deps_dictionary(void);