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. --- src/internal/tpax_driver_impl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/internal/tpax_driver_impl.h') diff --git a/src/internal/tpax_driver_impl.h b/src/internal/tpax_driver_impl.h index 7726e1f..a7350d7 100644 --- a/src/internal/tpax_driver_impl.h +++ b/src/internal/tpax_driver_impl.h @@ -64,6 +64,9 @@ struct tpax_dirent { int fdat; int depth; int flags; + int nlink; + int cpdev; + int cpino; dev_t srdev; dev_t stdev; ino_t stino; @@ -107,6 +110,7 @@ struct tpax_driver_ctx_impl { char ** prefixp; char ** prefcap; char * prefptr[64]; + struct tpax_dirent ** cpiov; struct tpax_dirent ** direntv; struct tpax_dirent_buffer * dirents; struct tpax_dirent * dirmark; -- cgit v1.2.3