]> git.wh0rd.org - dump.git/blobdiff - restore/restore.h
64bit and glibc 2.2.2 fixes.
[dump.git] / restore / restore.h
index a3c2b5566dd02ffe881cda4e597c5ce052103805..562b9109306fb688d5550fa045184cd871abd96c 100644 (file)
@@ -2,9 +2,10 @@
  *     Ported to Linux's Second Extended File System as part of the
  *     dump and restore backup suit
  *     Remy Card <card@Linux.EU.Org>, 1994-1997
- *     Stelian Pop <pop@cybercable.fr>, 1999-2000
+ *     Stelian Pop <pop@noos.fr>, 1999-2000
+ *     Stelian Pop <pop@noos.fr> - AlcĂ´ve <www.alcove.fr>, 2000
  *
- *     $Id: restore.h,v 1.7 2000/01/21 10:17:41 stelian Exp $
+ *     $Id: restore.h,v 1.13 2001/02/21 16:13:05 stelian Exp $
  */
 
 /*
@@ -45,6 +46,8 @@
  * SUCH DAMAGE.
  */
 
+#include <config.h>
+#include <protocols/dumprestore.h>
 /*
  * Flags
  */
@@ -58,6 +61,7 @@ extern int    Nflag;          /* do not write the disk */
 extern int     uflag;          /* unlink symlink targets */
 extern int     vflag;          /* print out actions taken */
 extern int     yflag;          /* always try to recover from tape errors */
+extern int     zflag;          /* tape is in compressed format */
 /*
  * Global variables
  */
@@ -78,7 +82,8 @@ extern int    compare_ignore_not_found;
                                /* used to compare incremental dumps, */
                                /* so messages about "not found" files */
                                /* isn't seen. */
-extern char    *filesys;       /* name of dumped filesystem */
+extern int     compare_errors; /* did we encounter any compare errors? */
+extern char    filesys[NAMELEN];/* name of dumped filesystem */
 
 /*
  * Each file in the file system is described by one of these entries