summaryrefslogtreecommitdiff
path: root/tar/tar.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-06-17 11:37:18 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-06-17 11:37:18 +0200
commita5d7779a30d74205c92c5bb1968855e7e61d4458 (patch)
treeb4eae56069c0a6a64983564cc9d267ae0ffc3c95 /tar/tar.h
parente5694858eac4c199022b822f41bc40d769f5aed9 (diff)
tar2sqfs: rewrite parser to fill struct stat, create tree node from that
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tar/tar.h')
-rw-r--r--tar/tar.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/tar/tar.h b/tar/tar.h
index 35c4fe0..7862235 100644
--- a/tar/tar.h
+++ b/tar/tar.h
@@ -26,12 +26,7 @@ typedef struct {
} tar_header_t;
typedef struct {
- uint64_t size;
- uint64_t mode;
- uint64_t uid;
- uint64_t gid;
- uint64_t dev_maj;
- uint64_t dev_min;
+ struct stat sb;
char *name;
char *link_target;
bool unknown_record;