Gratuitous ABI break: xbps_binpkg_get_xxx() -> xbps_archive_fetch_xxx().

This commit is contained in:
Juan RP
2014-11-21 09:51:57 +01:00
parent 7e6b38f951
commit 1789e527a9
7 changed files with 16 additions and 16 deletions

View File

@ -140,7 +140,7 @@ open_archive(const char *url)
}
char *
xbps_binpkg_get_file(const char *url, const char *fname)
xbps_archive_fetch_file(const char *url, const char *fname)
{
struct archive *a;
struct archive_entry *entry;
@ -169,7 +169,7 @@ xbps_binpkg_get_file(const char *url, const char *fname)
}
int
xbps_binpkg_get_file_into_fd(const char *url, const char *fname, int fd)
xbps_archive_fetch_file_into_fd(const char *url, const char *fname, int fd)
{
struct archive *a;
struct archive_entry *entry;
@ -202,12 +202,12 @@ xbps_binpkg_get_file_into_fd(const char *url, const char *fname, int fd)
}
xbps_dictionary_t
xbps_binpkg_get_plist(const char *url, const char *plistf)
xbps_archive_fetch_plist(const char *url, const char *plistf)
{
xbps_dictionary_t d;
char *buf;
if ((buf = xbps_binpkg_get_file(url, plistf)) == NULL)
if ((buf = xbps_archive_fetch_file(url, plistf)) == NULL)
return NULL;
d = xbps_dictionary_internalize(buf);