X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=restore%2Fextern.h;h=bf811091436ad90270b68c0d3fc018344e232db5;hb=83a6b4df0b7b7aecc0d3940549d0d480adff35a6;hp=408169fc5ae49eac8954097cd8b5405a03bfc1fc;hpb=fe0e02857a1ff7db4bf8cb28780de7ecf2f24234;p=dump.git diff --git a/restore/extern.h b/restore/extern.h index 408169f..bf81109 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.16 2002/02/04 11:18:46 stelian Exp $ + * $Id: extern.h,v 1.22 2003/03/30 15:40:38 stelian Exp $ */ /*- @@ -20,11 +20,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * @@ -42,6 +38,7 @@ */ #include +#include struct entry *addentry __P((char *, dump_ino_t, int)); long addfile __P((char *, dump_ino_t, int)); @@ -62,7 +59,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 *)); @@ -97,6 +94,7 @@ 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)); @@ -118,9 +116,9 @@ 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)); +OFF_T rmtseek __P((OFF_T, int)); /* From e2fsprogs */ int fsetflags __P((const char *, unsigned long));