]> git.wh0rd.org - dump.git/blobdiff - restore/restore.h
Make the directory hashtable optional and controled via restore -H
[dump.git] / restore / restore.h
index 36cb88ae486b67c2649c8eddf2c99613334e248b..3d2a5de310c517ca8f3ac5608dbdb84c6ab635ca 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.30 2004/12/14 14:07:58 stelian Exp $
+ *     $Id: restore.h,v 1.33 2005/07/07 09:16:08 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
@@ -196,3 +196,4 @@ char        smtcpath[2048];
                exit(2); \
        }
 
+#define XATTR_MAXSIZE  4096