Added xbps_get_pkg_plist_dict_from_repo().
This function will fetch a requested plist file in a binary package matching its 'pkgname' object by searching in repository pool. This works in any kind of repository, local and remote. Some code was Taken from NetBSD's pkg_install HEAD. Oh, and it's on-the-fly! doesn't need to download the binpkg first! --HG-- extra : convert_revision : xtraeme%40gmail.com-20091125020936-7uf2ncrf1692c5hz
This commit is contained in:
@ -184,6 +184,10 @@ int SYMEXPORT xbps_remove_pkg(const char *, const char *, bool);
|
||||
int SYMEXPORT xbps_register_repository(const char *);
|
||||
int SYMEXPORT xbps_unregister_repository(const char *);
|
||||
|
||||
/* From lib/repository_plist.c */
|
||||
prop_dictionary_t SYMEXPORT
|
||||
xbps_get_pkg_plist_dict_from_repo(const char *, const char *);
|
||||
|
||||
/* From lib/requiredby.c */
|
||||
int SYMEXPORT xbps_requiredby_pkg_add(prop_array_t, prop_dictionary_t);
|
||||
int SYMEXPORT xbps_requiredby_pkg_remove(const char *);
|
||||
|
Reference in New Issue
Block a user