summaryrefslogtreecommitdiff
path: root/src/internal/tpax_driver_impl.h
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 /src/internal/tpax_driver_impl.h
parent19fba4c00b514a0c25e6b3537a7dded39d2cc79a (diff)
downloadtpax-f66f5352a25b77e4a930d39e3ba9c260efedf14b.tar.bz2
tpax-f66f5352a25b77e4a930d39e3ba9c260efedf14b.tar.xz
write mode: implemented generation of the cpio archive format.
Diffstat (limited to 'src/internal/tpax_driver_impl.h')
-rw-r--r--src/internal/tpax_driver_impl.h4
1 files changed, 4 insertions, 0 deletions
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;