summaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-19 01:40:07 +0000
committermidipix <writeonce@midipix.org>2024-02-19 02:59:31 +0000
commit51c276fbf1686c340588660a754ea04e6099cd37 (patch)
tree34b1854e72246acbe76033e32506563ffd94309a /src/helper
parent3fa3e3256e30f62d24889b572e3ae65ffb63876a (diff)
downloadslibtool-51c276fbf1686c340588660a754ea04e6099cd37.tar.bz2
slibtool-51c276fbf1686c340588660a754ea04e6099cd37.tar.xz
library api's: _ar_ (in-memory archiver) namespace overhaul.
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/slbt_archive_import.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/helper/slbt_archive_import.c b/src/helper/slbt_archive_import.c
index 95c6c7d..d339f78 100644
--- a/src/helper/slbt_archive_import.c
+++ b/src/helper/slbt_archive_import.c
@@ -29,22 +29,22 @@ static int slbt_archive_import_impl(
(void)ectx;
- if (slbt_get_archive_ctx(dctx,dstarchive,&arctxv[0]) < 0)
+ if (slbt_ar_get_archive_ctx(dctx,dstarchive,&arctxv[0]) < 0)
return SLBT_NESTED_ERROR(dctx);
- if (slbt_get_archive_ctx(dctx,srcarchive,&arctxv[1]) < 0) {
- slbt_free_archive_ctx(arctxv[0]);
+ if (slbt_ar_get_archive_ctx(dctx,srcarchive,&arctxv[1]) < 0) {
+ slbt_ar_free_archive_ctx(arctxv[0]);
return SLBT_NESTED_ERROR(dctx);
}
- ret = slbt_merge_archives(arctxv,&arctx);
+ ret = slbt_ar_merge_archives(arctxv,&arctx);
- slbt_free_archive_ctx(arctxv[0]);
- slbt_free_archive_ctx(arctxv[1]);
+ slbt_ar_free_archive_ctx(arctxv[0]);
+ slbt_ar_free_archive_ctx(arctxv[1]);
if (ret == 0) {
- ret = slbt_store_archive(arctx,dstarchive,0644);
- slbt_free_archive_ctx(arctx);
+ ret = slbt_ar_store_archive(arctx,dstarchive,0644);
+ slbt_ar_free_archive_ctx(arctx);
}
return (ret < 0) ? SLBT_NESTED_ERROR(dctx) : 0;