]> Dogcows Code - chaz/tar/commitdiff
(struct xheader): New definition
authorSergey Poznyakoff <gray@gnu.org.ua>
Sat, 19 May 2007 17:02:29 +0000 (17:02 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Sat, 19 May 2007 17:02:29 +0000 (17:02 +0000)
(struct tar_stat_info): New member xhdr (extended header).

src/tar.h

index fa6a625e5b260270ae78092b07d5973ce198caed..439273eabd5b704865d4715d0f73ea36c82608b5 100644 (file)
--- 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
This page took 0.02455 seconds and 4 git commands to generate.