X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=restore%2Fextern.h;h=60f2f26c71157e86933ac9c2ec53e6e41d355ef8;hb=f30c53e5aacd10d449f01703b31a927c8a7a3134;hp=bf811091436ad90270b68c0d3fc018344e232db5;hpb=e1abc9ce25132eef1239047a071c2c1d4822dd9f;p=dump.git diff --git a/restore/extern.h b/restore/extern.h index bf81109..60f2f26 100644 --- a/restore/extern.h +++ b/restore/extern.h @@ -5,7 +5,7 @@ * Stelian Pop , 1999-2000 * Stelian Pop - AlcĂ´ve , 2000-2002 * - * $Id: extern.h,v 1.22 2003/03/30 15:40:38 stelian Exp $ + * $Id: extern.h,v 1.24 2004/12/15 11:00:01 stelian Exp $ */ /*- @@ -39,6 +39,12 @@ #include #include +#ifndef __P +#include +#endif +#ifdef DUMP_MACOSX +#include "darwin.h" +#endif struct entry *addentry __P((char *, dump_ino_t, int)); long addfile __P((char *, dump_ino_t, int)); @@ -101,6 +107,7 @@ void rst_closedir __P((RST_DIR *dirp)); void runcmdshell __P((void)); char *savename __P((char *)); void setdirmodes __P((int)); +void comparedirmodes __P((void)); void setinput __P((char *)); void setup __P((void)); void skipdirs __P((void)); @@ -125,11 +132,28 @@ int fsetflags __P((const char *, unsigned long)); int fgetflags __P((const char *, unsigned long *)); int setflags __P((int, unsigned long)); +int lsetflags __P((const char *, unsigned long)); +int lgetflags __P((const char *, unsigned long *)); + #ifdef USE_QFA 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 ReReadInodeFromTape __P((dump_ino_t)); +void GetPathFile __P((char *, char *, char *)); + +#ifdef sunos +int GetSCSIIDFromPath __P((char *, long *)); +int OpenSMTCmt(char *); +#endif #endif void RequestVol __P((long)); + +#ifdef DUMP_MACOSX +int extractfinderinfoufs __P((char *)); +int extractresourceufs __P((char *)); +int CreateAppleDoubleFileRes __P((char *, FndrFileInfo *, mode_t, int, struct timeval *, u_int32_t, u_int32_t)); +#endif + +void skipxattr __P((void));