]> git.wh0rd.org - dump.git/blobdiff - restore/extern.h
Fix maps overflow in restore when doing incremental restores (and MAXINO becomes...
[dump.git] / restore / extern.h
index babafea8bf51a3976c145dd96935524d1e9673d4..6ea57e383065036f182d3b3146192af426126a96 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: extern.h,v 1.14 2002/01/16 09:32:14 stelian Exp $
+ *     $Id: extern.h,v 1.20 2002/11/15 09:25:41 stelian Exp $
  */
 
 /*-
@@ -62,7 +62,7 @@ void           delwhiteout __P((struct entry *));
 dump_ino_t      dirlookup __P((const char *));
 void            dumpsymtable __P((char *, long));
 void            extractdirs __P((int));
-int             extractfile __P((char *));
+int             extractfile __P((struct entry *, int));
 void            findunreflinks __P((void));
 char           *flagvalues __P((struct entry *));
 void            freeentry __P((struct entry *));
@@ -90,12 +90,14 @@ void                 panic __P((const char *, ...));
 void            pathcheck __P((char *));
 struct direct  *pathsearch __P((const char *));
 void            printdumpinfo __P((void));
+void            printvolinfo __P((void));
 void            removeleaf __P((struct entry *));
 void            removenode __P((struct entry *));
 void            removeoldleaves __P((void));
 void            removeoldnodes __P((void));
 void            renameit __P((char *, char *));
 int             reply __P((const char *));
+void            resizemaps __P((dump_ino_t, dump_ino_t));
 RST_DIR                *rst_opendir __P((const char *));
 struct direct  *rst_readdir __P((RST_DIR *));
 void            rst_closedir __P((RST_DIR *dirp));
@@ -117,7 +119,7 @@ void                 xtrnull __P((char *, size_t));
 void           rmtclose __P((void));
 int            rmthost __P((const char *));
 int            rmtioctl __P((int, int));
-int            rmtopen __P((const char *, int));
+int            rmtopen __P((const char *, const int));
 int            rmtread __P((const char *, int));
 int            rmtseek __P((int, int));
 
@@ -127,9 +129,10 @@ int fgetflags __P((const char *, unsigned long *));
 int setflags __P((int, unsigned long));
 
 #ifdef USE_QFA
-int    Inode2Tapepos __P((dump_ino_t, long *, long *, int));
-int    GetTapePos __P((long *));
-int    GotoTapePos __P((long));
+int    Inode2Tapepos __P((dump_ino_t, long *, long long *, int));
+int    GetTapePos __P((long long *));
+int    GotoTapePos __P((long long));
 void   ReReadFromTape __P((void));
-void   RequestVol __P((long));
+void   ReReadInodeFromTape __P((dump_ino_t));
 #endif
+void   RequestVol __P((long));