Rename some symbols in repository_plist.c.

xbps_repository_get_pkg_plist_dict_from_url -> xbps_repository_plist_find_pkg_dict_from_url
xbps_repository_get_pkg_plist_dict -> xbps_repository_plist_find_pkg_dict
This commit is contained in:
Juan RP
2011-01-27 13:53:33 +01:00
parent 3ec5e27f8d
commit 1c21a98545
6 changed files with 11 additions and 11 deletions

View File

@@ -94,7 +94,7 @@ find_files_in_package(struct repository_pool_index *rpi, void *arg, bool *done)
}
prop_dictionary_get_cstring_nocopy(obj, "pkgname", &pkgname);
prop_dictionary_get_cstring_nocopy(obj, "pkgver", &pkgver);
pkg_filesd = xbps_repository_get_pkg_plist_dict_from_url(url,
pkg_filesd = xbps_repository_plist_find_pkg_dict_from_url(url,
XBPS_PKGFILES);
free(url);
if (pkg_filesd == NULL) {

View File

@@ -104,7 +104,7 @@ xbps_repo_addpkg_index(prop_dictionary_t idxdict, const char *filedir,
goto out;
}
newpkgd = xbps_repository_get_pkg_plist_dict_from_url(file,
newpkgd = xbps_repository_plist_find_pkg_dict_from_url(file,
XBPS_PKGPROPS);
if (newpkgd == NULL) {
fprintf(stderr, "xbps-repo: can't read %s %s metadata "

View File

@@ -184,7 +184,7 @@ main(int argc, char **argv)
if (argc != 2)
usage();
pkgd = xbps_repository_get_pkg_plist_dict(argv[1],
pkgd = xbps_repository_plist_find_pkg_dict(argv[1],
XBPS_PKGFILES);
if (pkgd == NULL) {
if (errno != ENOENT) {

View File

@@ -259,7 +259,7 @@ show_pkg_info_from_repolist(const char *pkgname)
}
printf("Fetching info from: %s\n", repoloc);
pkg_propsd =
xbps_repository_get_pkg_plist_dict_from_url(url, XBPS_PKGPROPS);
xbps_repository_plist_find_pkg_dict_from_url(url, XBPS_PKGPROPS);
if (pkg_propsd == NULL) {
free(url);
prop_object_release(pkgd);