summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-05-26 13:52:18 +0000
committermidipix <writeonce@midipix.org>2024-05-26 13:52:18 +0000
commit99ab678ae0659e60290154dabe987e6fb0029d3e (patch)
treebca849ed7032fa121a8cb8e6d63fed642f12b55c
parent5ce6ff10c2cced4bf75db11b16984d565cf1ebec (diff)
downloadtpax-99ab678ae0659e60290154dabe987e6fb0029d3e.tar.bz2
tpax-99ab678ae0659e60290154dabe987e6fb0029d3e.tar.xz
logic: renamed tpax_archive_append_item() as tpax_archive_append().
-rw-r--r--include/tpax/tpax.h2
-rw-r--r--src/driver/tpax_amain.c2
-rw-r--r--src/logic/tpax_archive_append.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/tpax/tpax.h b/include/tpax/tpax.h
index 323b65c..9ea2a94 100644
--- a/include/tpax/tpax.h
+++ b/include/tpax/tpax.h
@@ -150,7 +150,7 @@ tpax_api int tpax_get_driver_fdctx (const struct tpax_driver_ctx *, struct
tpax_api int tpax_set_driver_fdctx (struct tpax_driver_ctx *, const struct tpax_fd_ctx *);
/* core api */
-tpax_api int tpax_archive_append_item (const struct tpax_driver_ctx *, const struct tpax_unit_ctx *);
+tpax_api int tpax_archive_append (const struct tpax_driver_ctx *, const struct tpax_unit_ctx *);
tpax_api int tpax_archive_write (const struct tpax_driver_ctx *);
diff --git a/src/driver/tpax_amain.c b/src/driver/tpax_amain.c
index 9e76d08..e9aa726 100644
--- a/src/driver/tpax_amain.c
+++ b/src/driver/tpax_amain.c
@@ -54,7 +54,7 @@ static void tpax_perform_unit_actions(
struct tpax_unit_ctx * uctx)
{
if (dctx->cctx->drvflags & TPAX_DRIVER_EXEC_MODE_WRITE)
- tpax_archive_append_item(dctx,uctx);
+ tpax_archive_append(dctx,uctx);
}
static void tpax_archive_write_and_seal(
diff --git a/src/logic/tpax_archive_append.c b/src/logic/tpax_archive_append.c
index e2536e1..cfdcb74 100644
--- a/src/logic/tpax_archive_append.c
+++ b/src/logic/tpax_archive_append.c
@@ -395,7 +395,7 @@ static int tpax_dirent_init_from_uctx(
return 0;
}
-int tpax_archive_append_item(
+int tpax_archive_append(
const struct tpax_driver_ctx * dctx,
const struct tpax_unit_ctx * uctx)
{