]> git.wh0rd.org - dump.git/blobdiff - compat/include/protocols/dumprestore.h
New compression patches from Jerry Peters.
[dump.git] / compat / include / protocols / dumprestore.h
index 236912000dc5ea1999cd4cbc9ddfc44d334af6e6..f5f34d88b7f69f01db2c2cca27a17f92be917fdf 100644 (file)
@@ -5,7 +5,7 @@
  *      Stelian Pop <pop@noos.fr>, 1999-2000
  *     Stelian Pop <pop@noos.fr> - AlcĂ´ve <www.alcove.fr>, 2000
  *
- *     $Id: dumprestore.h,v 1.10 2001/02/21 16:13:05 stelian Exp $
+ *     $Id: dumprestore.h,v 1.11 2001/03/18 15:35:44 stelian Exp $
  */
 
 /*
@@ -122,9 +122,10 @@ union u_spcl {
 
 /* used for compressed dump tapes */
 struct tapebuf {
-       int32_t clen;   /* compressed length of data */
-       int32_t unclen; /* uncompressed length of data */
-       char    buf[0]; /* the data */
+       unsigned int    compressed:1;
+       unsigned int    flags:3;
+       unsigned int    length:28;
+       char            buf[0]; /* the data */
 };
 
 #endif /* !_DUMPRESTORE_H_ */