X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Frestore.h;h=51a3082d7f50d6f75483afb3fafd17b6ad2ccb00;hp=36cb88ae486b67c2649c8eddf2c99613334e248b;hb=refs%2Fheads%2Fmaster;hpb=741eb2042c0ebc165d6aeadfd4396882d340adb2 diff --git a/restore/restore.h b/restore/restore.h index 36cb88a..51a3082 100644 --- a/restore/restore.h +++ b/restore/restore.h @@ -5,7 +5,7 @@ * Stelian Pop , 1999-2000 * Stelian Pop - AlcĂ´ve , 2000-2002 * - * $Id: restore.h,v 1.30 2004/12/14 14:07:58 stelian Exp $ + * $Id: restore.h,v 1.34 2007/02/22 20:12:50 stelian Exp $ */ /* @@ -91,8 +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 */ - -#define DIRHASH_SIZE 1024 +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 @@ -190,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