xbps_get_pkg_plist_dict_from_repo: split reading the pkg plist dict

from an url into a new function, xbps_get_pkg_plist_dict_from_url.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091125025258-dnq0lstx67xj6w8t
This commit is contained in:
Juan RP
2009-11-25 02:52:58 +00:00
parent 3117c8b4ee
commit 787416a0cd
2 changed files with 46 additions and 38 deletions

View File

@ -187,6 +187,8 @@ 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 *);
prop_dictionary_t SYMEXPORT
xbps_get_pkg_plist_dict_from_url(const char *, const char *);
/* From lib/requiredby.c */
int SYMEXPORT xbps_requiredby_pkg_add(prop_array_t, prop_dictionary_t);