diff options
author | midipix <writeonce@midipix.org> | 2024-07-16 20:14:40 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-07-16 20:14:40 +0000 |
commit | a749fdfc3615246713808529cc1ab7e947040ec7 (patch) | |
tree | c1c74a4f1f72fe59b2fce60eec25a64f9c4968ff /include | |
parent | eba861e4ed34d46cd7925b4075d00f0f556afc2b (diff) | |
download | tpax-a749fdfc3615246713808529cc1ab7e947040ec7.tar.bz2 tpax-a749fdfc3615246713808529cc1ab7e947040ec7.tar.xz |
library api's: _meta_ namespace: make header creation interfaces context independent.
Diffstat (limited to 'include')
-rw-r--r-- | include/tpax/tpax.h | 7 |
1 files changed, 5 insertions, 2 deletions
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 *, |