From a749fdfc3615246713808529cc1ab7e947040ec7 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 16 Jul 2024 20:14:40 +0000 Subject: library api's: _meta_ namespace: make header creation interfaces context independent. --- include/tpax/tpax.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/tpax/tpax.h b/include/tpax/tpax.h index fa685c3..b811987 100644 --- a/include/tpax/tpax.h +++ b/include/tpax/tpax.h @@ -184,8 +184,11 @@ tpax_api int tpax_output_error_vector (const struct tpax_driver_ctx *); tpax_api int tpax_output_error_record (const struct tpax_driver_ctx *, const struct tpax_error_info *); /* meta interfaces */ -tpax_api int tpax_meta_init_ustar_header (const struct tpax_driver_ctx *, const char *, const struct stat *, - const char *, struct tpax_ustar_header *); +tpax_api int tpax_meta_init_ustar_header (const char * pathname, const struct stat *, + const char * linkname, struct tpax_ustar_header *); + +tpax_api int tpax_meta_init_rustar_header (const char * pathname, const struct stat *, + const char * linkname, struct tpax_ustar_header *); /* low-level interfaces */ tpax_api int tpax_io_create_memory_snapshot(const struct tpax_driver_ctx *, int, const char *, -- cgit v1.2.3