]> git.wh0rd.org - dump.git/blobdiff - compat/include/protocols/dumprestore.h
Added bzip2 compression to dump.
[dump.git] / compat / include / protocols / dumprestore.h
index 885b9e038415d5a5bc886481b016d3569844d7c0..49e14f1f6bce9651fc4d02c904745804f1efa2a9 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.13 2001/05/12 11:36:12 stelian Exp $
+ *     $Id: dumprestore.h,v 1.14 2001/08/16 15:24:21 stelian Exp $
  */
 
 /*
@@ -123,6 +123,12 @@ union u_spcl {
 #define DR_NEWINODEFMT 0x0002  /* new format inodes on tape */
 #define DR_COMPRESSED  0x0080  /* dump tape is compressed */
 
+/*
+ * compression flags for the tapebuf header.
+ */
+#define COMPRESS_ZLIB  0
+#define COMPRESS_BZLIB 1
+
 /* used for compressed dump tapes */
 struct tapebuf {
        unsigned int    compressed:1;