X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=inline;f=src%2Ftar.h;h=fa6a625e5b260270ae78092b07d5973ce198caed;hb=137ebf41fd97baa7e4f2a66e0da0bdb182ca6f7b;hp=620b935bd0ebadc79cd6615995d774db1f891c10;hpb=f1b1e9a476a313919840f2da769e6187b3034795;p=chaz%2Ftar diff --git a/src/tar.h b/src/tar.h index 620b935..fa6a625 100644 --- a/src/tar.h +++ b/src/tar.h @@ -165,6 +165,7 @@ struct oldgnu_header 'A' Solaris Access Control List 'E' Solaris Extended Attribute File 'I' Inode only, as in 'star' + 'N' Obsolete GNU tar, for file names that do not fit into the main header. 'X' POSIX 1003.1-2001 eXtended (VU version) */ /* This is a dir entry that contains the names of files that were in the @@ -180,9 +181,6 @@ struct oldgnu_header /* This is the continuation of a file that began on another volume. */ #define GNUTYPE_MULTIVOL 'M' -/* For storing filenames that do not fit into the main header. */ -#define GNUTYPE_NAMES 'N' - /* This is for sparse files. */ #define GNUTYPE_SPARSE 'S' @@ -295,6 +293,8 @@ struct tar_stat_info bool is_sparse; /* Is the file sparse */ /* For sparse files: */ + unsigned sparse_major; + unsigned sparse_minor; size_t sparse_map_avail; /* Index to the first unused element in sparse_map array. Zero if the file is not sparse */ @@ -318,5 +318,3 @@ union block struct star_in_header star_in_header; struct star_ext_header star_ext_header; }; - -