]> git.wh0rd.org - dump.git/blobdiff - restore/restore.h
Error code to restore when compare errors detected.
[dump.git] / restore / restore.h
index 87a03972ce42320da4d6486bf2122e725d2f60a3..480f4d028ffdc068b75dd566949f7dd393322316 100644 (file)
@@ -2,8 +2,9 @@
  *     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 
+ *     Stelian Pop <pop@cybercable.fr>, 1999-2000
  *
+ *     $Id: restore.h,v 1.9 2000/05/28 16:52:21 stelian Exp $
  */
 
 /*
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- *
- * $Id: restore.h,v 1.4 1999/10/11 13:31:13 stelian Exp $
  */
 
+#include <protocols/dumprestore.h>
 /*
  * Flags
  */
@@ -54,6 +54,7 @@ extern int    bflag;          /* set input block size */
 extern int     dflag;          /* print out debugging info */
 extern int     hflag;          /* restore heirarchies */
 extern int     mflag;          /* restore by name instead of inode number */
+extern int     Mflag;          /* multi-volume restore */
 extern int     Nflag;          /* do not write the disk */
 extern int     uflag;          /* unlink symlink targets */
 extern int     vflag;          /* print out actions taken */
@@ -78,7 +79,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