summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-05-26 15:02:30 +0000
committermidipix <writeonce@midipix.org>2024-05-26 15:02:30 +0000
commit4cb6ae148e6bd9d832c637a5fdd01d68febdbf67 (patch)
tree18267532c8cb05180ea5f3cc406ee07825f5e1f8 /src
parent3ea04532b867b8ad36e30eed05a5d2fc2630833b (diff)
downloadtpax-4cb6ae148e6bd9d832c637a5fdd01d68febdbf67.tar.bz2
tpax-4cb6ae148e6bd9d832c637a5fdd01d68febdbf67.tar.xz
library api's: _meta_ (archive member meta interfaces) namespace overhaul.
Diffstat (limited to 'src')
-rw-r--r--src/logic/tpax_archive_write.c2
-rw-r--r--src/meta/tpax_init_ustar_header.c (renamed from src/logic/tpax_init_ustar_header.c)2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/logic/tpax_archive_write.c b/src/logic/tpax_archive_write.c
index 707b288..c5109d3 100644
--- a/src/logic/tpax_archive_write.c
+++ b/src/logic/tpax_archive_write.c
@@ -109,7 +109,7 @@ static int tpax_archive_write_impl(
dpos = hpos + sizeof(uhdr);
/* header */
- if (tpax_init_ustar_header(
+ if (tpax_meta_init_ustar_header(
dctx,path,uctx->st,
*uctx->link,&uhdr) < 0)
return tpax_archive_write_ret(
diff --git a/src/logic/tpax_init_ustar_header.c b/src/meta/tpax_init_ustar_header.c
index a02d58f..2479e28 100644
--- a/src/logic/tpax_init_ustar_header.c
+++ b/src/meta/tpax_init_ustar_header.c
@@ -30,7 +30,7 @@ static void tpax_octal_write(char * ch, ssize_t len, uint64_t val)
}
}
-int tpax_init_ustar_header(
+int tpax_meta_init_ustar_header(
const struct tpax_driver_ctx * dctx,
const char * path,
const struct stat * st,