summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/tpax_amain.c8
-rw-r--r--src/driver/tpax_driver_ctx.c8
-rw-r--r--src/driver/tpax_unit_ctx.c4
3 files changed, 10 insertions, 10 deletions
diff --git a/src/driver/tpax_amain.c b/src/driver/tpax_amain.c
index e9aa726..0ec20f4 100644
--- a/src/driver/tpax_amain.c
+++ b/src/driver/tpax_amain.c
@@ -74,7 +74,7 @@ static void tpax_perform_archive_actions(
static int tpax_exit(struct tpax_driver_ctx * dctx, int ret)
{
tpax_output_error_vector(dctx);
- tpax_free_driver_ctx(dctx);
+ tpax_lib_free_driver_ctx(dctx);
return ret;
}
@@ -92,7 +92,7 @@ int tpax_main(char ** argv, char ** envp, const struct tpax_fd_ctx * fdctx)
fdout = fdctx ? fdctx->fdout : STDOUT_FILENO;
fdcwd = fdctx ? fdctx->fdcwd : AT_FDCWD;
- if ((ret = tpax_get_driver_ctx(argv,envp,flags,fdctx,&dctx)))
+ if ((ret = tpax_lib_get_driver_ctx(argv,envp,flags,fdctx,&dctx)))
return (ret == TPAX_USAGE)
? !argv || !argv[0] || !argv[1]
: TPAX_ERROR;
@@ -102,9 +102,9 @@ int tpax_main(char ** argv, char ** envp, const struct tpax_fd_ctx * fdctx)
return tpax_exit(dctx,TPAX_ERROR);
for (unit=dctx->units; *unit; unit++) {
- if (!(tpax_get_unit_ctx(dctx,fdcwd,*unit,&uctx))) {
+ if (!(tpax_lib_get_unit_ctx(dctx,fdcwd,*unit,&uctx))) {
tpax_perform_unit_actions(dctx,uctx);
- tpax_free_unit_ctx(uctx);
+ tpax_lib_free_unit_ctx(uctx);
}
}
diff --git a/src/driver/tpax_driver_ctx.c b/src/driver/tpax_driver_ctx.c
index 77eedd1..f573523 100644
--- a/src/driver/tpax_driver_ctx.c
+++ b/src/driver/tpax_driver_ctx.c
@@ -326,7 +326,7 @@ static int tpax_get_driver_ctx_fail(struct argv_meta * meta)
return -1;
}
-int tpax_get_driver_ctx(
+int tpax_lib_get_driver_ctx(
char ** argv,
char ** envp,
uint32_t flags,
@@ -596,7 +596,7 @@ static void tpax_free_driver_ctx_impl(struct tpax_driver_ctx_alloc * ictx)
free(ictx);
}
-void tpax_free_driver_ctx(struct tpax_driver_ctx * ctx)
+void tpax_lib_free_driver_ctx(struct tpax_driver_ctx * ctx)
{
struct tpax_driver_ctx_alloc * ictx;
uintptr_t addr;
@@ -614,7 +614,7 @@ const struct tpax_source_version * tpax_source_version(void)
return &tpax_src_version;
}
-int tpax_get_driver_fdctx(
+int tpax_lib_get_driver_fdctx(
const struct tpax_driver_ctx * dctx,
struct tpax_fd_ctx * fdctx)
{
@@ -632,7 +632,7 @@ int tpax_get_driver_fdctx(
return 0;
}
-int tpax_set_driver_fdctx(
+int tpax_lib_set_driver_fdctx(
struct tpax_driver_ctx * dctx,
const struct tpax_fd_ctx * fdctx)
{
diff --git a/src/driver/tpax_unit_ctx.c b/src/driver/tpax_unit_ctx.c
index 95da1d1..1fbc510 100644
--- a/src/driver/tpax_unit_ctx.c
+++ b/src/driver/tpax_unit_ctx.c
@@ -25,7 +25,7 @@ static int tpax_free_unit_ctx_impl(struct tpax_unit_ctx_impl * ctx, int ret)
return ret;
}
-int tpax_get_unit_ctx(
+int tpax_lib_get_unit_ctx(
const struct tpax_driver_ctx * dctx,
int fdat,
const char * path,
@@ -76,7 +76,7 @@ int tpax_get_unit_ctx(
return 0;
}
-void tpax_free_unit_ctx(struct tpax_unit_ctx * ctx)
+void tpax_lib_free_unit_ctx(struct tpax_unit_ctx * ctx)
{
struct tpax_unit_ctx_impl * ictx;
uintptr_t addr;