]> git.wh0rd.org - dump.git/blobdiff - restore/restore.h
Regenerate configure.
[dump.git] / restore / restore.h
index 9239b07ea8dc0a576557ab2ee4b283a9fe5cfc27..51a3082d7f50d6f75483afb3fafd17b6ad2ccb00 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: restore.h,v 1.28 2003/10/26 16:05:48 stelian Exp $
+ *     $Id: restore.h,v 1.34 2007/02/22 20:12:50 stelian Exp $
  */
 
 /*
@@ -64,6 +64,7 @@ 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 */
+extern int     ufs2flag;       /* tape is a FreeBSD UFS2 dump */
 extern char*   bot_script;     /* beginning of tape script */
 /*
  * Global variables
@@ -90,6 +91,8 @@ extern int    compare_ignore_not_found;
 extern int     compare_errors; /* did we encounter any compare errors? */
 extern char    filesys[NAMELEN];/* name of dumped filesystem */
 extern dump_ino_t volinfo[];   /* which inode on which volume archive info */
+extern int     wdfd;           /* original working directory */
+extern int     dirhash_size;   /* size of the directory hash table */
 
 /*
  * Each file in the file system is described by one of these entries
@@ -104,7 +107,7 @@ struct entry {
        struct  entry *e_parent;        /* pointer to parent directory (..) */
        struct  entry *e_sibling;       /* next element in this directory (.) */
        struct  entry *e_links;         /* hard links to this inode */
-       struct  entry *e_entries;       /* for directories, their entries */
+       struct  entry **e_entries;      /* for directories, their entries */
        struct  entry *e_next;          /* hash chain list */
 };
 /* types */
@@ -187,9 +190,15 @@ char       smtcpath[2048];
 #endif
 #endif /* USE_QFA */
 
+#ifdef TRANSSELINUX                    /*GAN6May06 SELinux MLS */
+extern int     transselinuxflag;
+extern char    *transselinuxarg;
+#endif
+
 #define do_compare_error \
        if (++compare_errors >= Lflag && Lflag) { \
                printf("Compare errors limit reached, exiting...\n"); \
                exit(2); \
        }
 
+#define XATTR_MAXSIZE  4096