summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-07-17 05:45:36 +0000
committermidipix <writeonce@midipix.org>2024-07-17 05:45:36 +0000
commitf66f5352a25b77e4a930d39e3ba9c260efedf14b (patch)
tree5ee48a09d311982e223a3c43299293d0aa262c68 /include
parent19fba4c00b514a0c25e6b3537a7dded39d2cc79a (diff)
downloadtpax-f66f5352a25b77e4a930d39e3ba9c260efedf14b.tar.bz2
tpax-f66f5352a25b77e4a930d39e3ba9c260efedf14b.tar.xz
write mode: implemented generation of the cpio archive format.
Diffstat (limited to 'include')
-rw-r--r--include/tpax/tpax.h4
1 files changed, 4 insertions, 0 deletions
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 *);