summaryrefslogtreecommitdiffhomepage
path: root/src/logic/slbt_exec_ar.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-19 02:16:22 +0000
committermidipix <writeonce@midipix.org>2024-02-19 02:59:31 +0000
commitf3d47a5271ef3cbe5755d1dd51bd96508aa0c3bc (patch)
treeaa015f7118ab335f16c820e9b814d83884a06e21 /src/logic/slbt_exec_ar.c
parent8dc63ddc326ec54709c580a400536fcc4ef62622 (diff)
downloadslibtool-f3d47a5271ef3cbe5755d1dd51bd96508aa0c3bc.tar.bz2
slibtool-f3d47a5271ef3cbe5755d1dd51bd96508aa0c3bc.tar.xz
library api's: _ectx_ (command execution context) namespace overhaul.
Diffstat (limited to 'src/logic/slbt_exec_ar.c')
-rw-r--r--src/logic/slbt_exec_ar.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/logic/slbt_exec_ar.c b/src/logic/slbt_exec_ar.c
index 95db043..6baba25 100644
--- a/src/logic/slbt_exec_ar.c
+++ b/src/logic/slbt_exec_ar.c
@@ -56,7 +56,7 @@ static int slbt_ar_usage(
}
if (ectx)
- slbt_free_exec_ctx(ectx);
+ slbt_ectx_free_exec_ctx(ectx);
slbt_argv_free(meta);
@@ -69,7 +69,7 @@ static int slbt_exec_ar_fail(
int ret)
{
slbt_argv_free(meta);
- slbt_free_exec_ctx(actx);
+ slbt_ectx_free_exec_ctx(actx);
return ret;
}
@@ -145,13 +145,13 @@ int slbt_exec_ar(
/* context */
if (ectx)
actx = 0;
- else if ((ret = slbt_get_exec_ctx(dctx,&ectx)))
+ else if ((ret = slbt_ectx_get_exec_ctx(dctx,&ectx)))
return ret;
else
actx = ectx;
/* initial state, ar mode skin */
- slbt_reset_arguments(ectx);
+ slbt_ectx_reset_arguments(ectx);
slbt_disable_placeholders(ectx);
ictx = slbt_get_driver_ictx(dctx);
@@ -289,7 +289,7 @@ int slbt_exec_ar(
/* defer --version printing to slbt_main() as needed */
if (cctx->drvflags & SLBT_DRIVER_VERSION) {
slbt_argv_free(meta);
- slbt_free_exec_ctx(actx);
+ slbt_ectx_free_exec_ctx(actx);
return SLBT_OK;
}
@@ -404,7 +404,7 @@ int slbt_exec_ar(
free(arctxv);
slbt_argv_free(meta);
- slbt_free_exec_ctx(actx);
+ slbt_ectx_free_exec_ctx(actx);
return ret;
}