X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=restore%2Fextern.h;h=c985c20f92006cd748d66a4abeb5ec8534be4aa5;hb=95c74f382492999827000f544fcb6844150cda81;hp=ed19a4bc9c15162baf5a126267b698cfa8ae0ff0;hpb=109e9e1d1a904627eeae4d519a0f694795b2892c;p=dump.git diff --git a/restore/extern.h b/restore/extern.h index ed19a4b..c985c20 100644 --- a/restore/extern.h +++ b/restore/extern.h @@ -5,7 +5,7 @@ * Stelian Pop , 1999-2000 * Stelian Pop - AlcĂ´ve , 2000 * - * $Id: extern.h,v 1.10 2000/12/04 15:43:17 stelian Exp $ + * $Id: extern.h,v 1.13 2001/04/10 12:46:53 stelian Exp $ */ /*- @@ -41,8 +41,10 @@ * SUCH DAMAGE. */ -struct entry *addentry __P((char *, ino_t, int)); -long addfile __P((char *, ino_t, int)); +#include + +struct entry *addentry __P((char *, dump_ino_t, int)); +long addfile __P((char *, dump_ino_t, int)); int addwhiteout __P((char *)); void badentry __P((struct entry *, const char *)); void canon __P((char *, char *, int)); @@ -54,10 +56,10 @@ void compareleaves __P((void)); void createfiles __P((void)); void createleaves __P((char *)); void createlinks __P((void)); -long deletefile __P((char *, ino_t, int)); -void deleteino __P((ino_t)); +long deletefile __P((char *, dump_ino_t, int)); +void deleteino __P((dump_ino_t)); void delwhiteout __P((struct entry *)); -ino_t dirlookup __P((const char *)); +dump_ino_t dirlookup __P((const char *)); void dumpsymtable __P((char *, long)); void extractdirs __P((int)); int extractfile __P((char *)); @@ -65,24 +67,24 @@ void findunreflinks __P((void)); char *flagvalues __P((struct entry *)); void freeentry __P((struct entry *)); void freename __P((char *)); -int genliteraldir __P((char *, ino_t)); +int genliteraldir __P((char *, dump_ino_t)); char *gentempname __P((struct entry *)); void getfile __P((void (*)(char *, size_t), void (*)(char *, size_t))); void getvol __P((long)); void initsymtable __P((char *)); -int inodetype __P((ino_t)); +int inodetype __P((dump_ino_t)); int linkit __P((char *, char *, int)); -struct entry *lookupino __P((ino_t)); +struct entry *lookupino __P((dump_ino_t)); struct entry *lookupname __P((char *)); -long listfile __P((char *, ino_t, int)); -ino_t lowerbnd __P((ino_t)); +long listfile __P((char *, dump_ino_t, int)); +dump_ino_t lowerbnd __P((dump_ino_t)); void mktempname __P((struct entry *)); void moveentry __P((struct entry *, char *)); void msg __P((const char *, ...)); char *myname __P((struct entry *)); void newnode __P((struct entry *)); void newtapebuf __P((long)); -long nodeupdates __P((char *, ino_t, int)); +long nodeupdates __P((char *, dump_ino_t, int)); void onintr __P((int)); void panic __P((const char *, ...)); void pathcheck __P((char *)); @@ -106,9 +108,9 @@ void skipdirs __P((void)); void skipfile __P((void)); void skipmaps __P((void)); void swabst __P((u_char *, u_char *)); -void treescan __P((char *, ino_t, long (*)(char *, ino_t, int))); -ino_t upperbnd __P((ino_t)); -long verifyfile __P((char *, ino_t, int)); +void treescan __P((char *, dump_ino_t, long (*)(char *, dump_ino_t, int))); +dump_ino_t upperbnd __P((dump_ino_t)); +long verifyfile __P((char *, dump_ino_t, int)); void xtrnull __P((char *, size_t)); /* From ../dump/dumprmt.c */ @@ -123,3 +125,11 @@ int rmtseek __P((int, int)); int fsetflags __P((const char *, unsigned long)); 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)); +void ReReadFromTape __P((void)); +void RequestVol __P((long)); +#endif