From 99ab678ae0659e60290154dabe987e6fb0029d3e Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 26 May 2024 13:52:18 +0000 Subject: logic: renamed tpax_archive_append_item() as tpax_archive_append(). --- include/tpax/tpax.h | 2 +- src/driver/tpax_amain.c | 2 +- src/logic/tpax_archive_append.c | 2 +- 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) { -- cgit v1.2.3