From f66f5352a25b77e4a930d39e3ba9c260efedf14b Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 17 Jul 2024 05:45:36 +0000 Subject: write mode: implemented generation of the cpio archive format. --- include/tpax/tpax.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/tpax/tpax.h b/include/tpax/tpax.h index b811987..1ea9887 100644 --- a/include/tpax/tpax.h +++ b/include/tpax/tpax.h @@ -184,6 +184,10 @@ 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_cpio_header (const char * pathname, const struct stat *, + const char * linkname, int c_dev, int c_ino, int c_nlink, + struct tpax_cpio_header *); + tpax_api int tpax_meta_init_ustar_header (const char * pathname, const struct stat *, const char * linkname, struct tpax_ustar_header *); -- cgit v1.2.3