API/ABI break for June 2011.

Rename some functions to reflect its description a bit better.

--HG--
rename : lib/repository_plist.c => lib/plist_fetch.c
This commit is contained in:
Juan RP
2011-06-01 09:37:32 +02:00
parent c9a673cc11
commit 841c9e2d51
34 changed files with 219 additions and 217 deletions

View File

@ -186,7 +186,7 @@ register_repository(const char *uri)
return 0;
}
plist = xbps_get_pkg_index_plist(idxstr);
plist = xbps_pkg_index_plist(idxstr);
} else {
/*
* Create metadir if necessary.
@ -203,7 +203,7 @@ register_repository(const char *uri)
return EXIT_FAILURE;
}
free(metadir);
plist = xbps_get_pkg_index_plist(idxstr);
plist = xbps_pkg_index_plist(idxstr);
}
if (plist == NULL)
@ -296,7 +296,7 @@ repo_sync_pkg_index_cb(struct repository_pool_index *rpi, void *arg, bool *done)
printf("Package index file is already up to date.\n");
return 0;
}
if ((plist = xbps_get_pkg_index_plist(rpi->rpi_uri)) == NULL)
if ((plist = xbps_pkg_index_plist(rpi->rpi_uri)) == NULL)
return EINVAL;
if ((rp = pkgindex_verify(plist, rpi->rpi_uri)) == NULL)