summaryrefslogtreecommitdiffhomepage
path: root/src/logic
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/logic
parent3fa3e3256e30f62d24889b572e3ae65ffb63876a (diff)
downloadslibtool-51c276fbf1686c340588660a754ea04e6099cd37.tar.bz2
slibtool-51c276fbf1686c340588660a754ea04e6099cd37.tar.xz
library api's: _ar_ (in-memory archiver) namespace overhaul.
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/slbt_exec_ar.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/logic/slbt_exec_ar.c b/src/logic/slbt_exec_ar.c
index 7614ee7..95db043 100644
--- a/src/logic/slbt_exec_ar.c
+++ b/src/logic/slbt_exec_ar.c
@@ -110,11 +110,11 @@ static int slbt_exec_ar_perform_archive_actions(
}
if (dctx->cctx->drvflags & SLBT_DRIVER_MODE_AR_MERGE) {
- if (slbt_merge_archives(arctxv,&arctx) < 0)
+ if (slbt_ar_merge_archives(arctxv,&arctx) < 0)
return SLBT_NESTED_ERROR(dctx);
/* (defer mode to umask) */
- if (slbt_store_archive(arctx,dctx->cctx->output,0666) < 0)
+ if (slbt_ar_store_archive(arctx,dctx->cctx->output,0666) < 0)
return SLBT_NESTED_ERROR(dctx);
}
@@ -380,9 +380,9 @@ int slbt_exec_ar(
/* archive context vector initialization */
for (unitp=unitv,arctxp=arctxv; *unitp; unitp++,arctxp++) {
- if (slbt_get_archive_ctx(dctx,*unitp,arctxp) < 0) {
+ if (slbt_ar_get_archive_ctx(dctx,*unitp,arctxp) < 0) {
for (arctxp=arctxv; *arctxp; arctxp++)
- slbt_free_archive_ctx(*arctxp);
+ slbt_ar_free_archive_ctx(*arctxp);
free(unitv);
free(arctxv);
@@ -398,7 +398,7 @@ int slbt_exec_ar(
/* all done */
for (arctxp=arctxv; *arctxp; arctxp++)
- slbt_free_archive_ctx(*arctxp);
+ slbt_ar_free_archive_ctx(*arctxp);
free(unitv);
free(arctxv);