summaryrefslogtreecommitdiff
path: root/include/tar.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-06-30 18:53:25 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-06-30 18:53:25 +0200
commit55568b1437f4cc6634c8a6e10c96bb26256176d2 (patch)
tree84fedb5c01d6ef17dc5f455214857fc8bb11ebb4 /include/tar.h
parentfbd5e80aedd354c010021145dbea9bd0b29563b7 (diff)
libtar: clarify actual size vs on-disk record size
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/tar.h')
-rw-r--r--include/tar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/tar.h b/include/tar.h
index 1f8ca7e..513e5bc 100644
--- a/include/tar.h
+++ b/include/tar.h
@@ -68,7 +68,8 @@ typedef struct {
char *name;
char *link_target;
sparse_map_t *sparse;
- uint64_t sparse_size;
+ uint64_t actual_size;
+ uint64_t record_size;
bool unknown_record;
} tar_header_decoded_t;