xbps_get_path_from_pkg_dict_repo: new function that returns a malloc'ed

string with the full path to a binary package file.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091125042953-x2nhwi8kxg75ukyq
This commit is contained in:
Juan RP
2009-11-25 04:29:53 +00:00
parent 787416a0cd
commit 04d9ab2322
2 changed files with 20 additions and 9 deletions

View File

@ -185,6 +185,8 @@ int SYMEXPORT xbps_register_repository(const char *);
int SYMEXPORT xbps_unregister_repository(const char *);
/* From lib/repository_plist.c */
char SYMEXPORT
*xbps_get_path_from_pkg_dict_repo(prop_dictionary_t, const char *);
prop_dictionary_t SYMEXPORT
xbps_get_pkg_plist_dict_from_repo(const char *, const char *);
prop_dictionary_t SYMEXPORT