]> git.wh0rd.org - dump.git/blobdiff - compat/include/protocols/dumprestore.h
Added LZO compression.
[dump.git] / compat / include / protocols / dumprestore.h
index 2c3a945fc851ad88c76a0d45724cd6d7b769057e..f616e3153c5a46d47e9a7a5acca1c4453615b82f 100644 (file)
@@ -5,7 +5,7 @@
  *     Stelian Pop <stelian@popies.net>, 1999-2000
  *     Stelian Pop <stelian@popies.net> - AlcĂ´ve <www.alcove.com>, 2000-2002
  *
- *     $Id: dumprestore.h,v 1.16 2002/01/25 14:59:53 stelian Exp $
+ *     $Id: dumprestore.h,v 1.19 2003/03/31 09:42:57 stelian Exp $
  */
 
 /*
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in the
  *    documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- *    must display the following acknowledgement:
- *     This product includes software developed by the University of
- *     California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
  *    may be used to endorse or promote products derived from this software
  *    without specific prior written permission.
  *
@@ -131,6 +127,8 @@ union u_spcl {
 #define DR_NEWHEADER   0x0001  /* new format tape header */
 #define DR_NEWINODEFMT 0x0002  /* new format inodes on tape */
 #define DR_COMPRESSED  0x0080  /* dump tape is compressed */
+#define DR_METAONLY    0x0100  /* only the metadata of the inode has
+                                  been dumped */
 #define DR_INODEINFO   0x0002  /* TS_END header contains c_inos information */
 
 
@@ -139,6 +137,7 @@ union u_spcl {
  */
 #define COMPRESS_ZLIB  0
 #define COMPRESS_BZLIB 1
+#define COMPRESS_LZO   2
 
 /* used for compressed dump tapes */
 struct tapebuf {