diff options
Diffstat (limited to 'src/helper/slbt_archive_import.c')
-rw-r--r-- | src/helper/slbt_archive_import.c | 16 |
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; |