From: Sergey Poznyakoff Date: Sat, 19 May 2007 17:02:29 +0000 (+0000) Subject: (struct xheader): New definition X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=ccdbafb2769c16a55565b387acea44a247001f6a;p=chaz%2Ftar (struct xheader): New definition (struct tar_stat_info): New member xhdr (extended header). --- diff --git a/src/tar.h b/src/tar.h index fa6a625..439273e 100644 --- a/src/tar.h +++ b/src/tar.h @@ -268,6 +268,14 @@ struct sp_array size_t numbytes; }; +struct xheader +{ + struct obstack *stk; + size_t size; + char *buffer; + uintmax_t string_length; +}; + struct tar_stat_info { char *orig_file_name; /* name of file read from the archive header */ @@ -301,6 +309,9 @@ struct tar_stat_info size_t sparse_map_size; /* Size of the sparse map */ struct sp_array *sparse_map; + /* Extended headers */ + struct xheader xhdr; + /* For dumpdirs */ bool is_dumpdir; /* Is the member a dumpdir? */ bool skipped; /* The member contents is already read