]> git.wh0rd.org - dump.git/blobdiff - dump/dump.h
LFS compatibility.
[dump.git] / dump / dump.h
index 80d4971d5d2dc5d36735e4955fba2782907b5ee8..e2152233f91703b8b7bb596319d64cc0dd1bdb6c 100644 (file)
@@ -2,9 +2,10 @@
  *     Ported to Linux's Second Extended File System as part of the
  *     dump and restore backup suit
  *     Remy Card <card@Linux.EU.Org>, 1994-1997
- *     Stelian Pop <pop@cybercable.fr>, 1999-2000
+ *     Stelian Pop <pop@noos.fr>, 1999-2000
+ *     Stelian Pop <pop@noos.fr> - AlcĂ´ve <www.alcove.fr>, 2000
  *
- *     $Id: dump.h,v 1.14 2000/11/10 11:48:31 stelian Exp $
+ *     $Id: dump.h,v 1.19 2000/12/21 11:14:53 stelian Exp $
  */
 
 /*-
@@ -40,6 +41,8 @@
  * SUCH DAMAGE.
  */
 
+#include <config.h>
+
 #define MAXINOPB       (MAXBSIZE / sizeof(struct dinode))
 #define MAXNINDIR      (MAXBSIZE / sizeof(daddr_t))
 
@@ -122,7 +125,7 @@ time_t      unctime __P((const char *str));
 
 /* mapping rouintes */
 struct dinode;
-long   blockest __P((struct dinode *dp));
+long   blockest __P((struct dinode const *dp));
 int    mapfiles __P((ino_t maxino, long *tapesize));
 #ifdef __linux__
 int    mapfilesfromdir __P((ino_t maxino, long *tapesize, char *directory));
@@ -146,6 +149,7 @@ void        dumpblock __P((daddr_t blkno, int size));
 void   startnewtape __P((int top));
 time_t trewind __P((void));
 void   writerec __P((const void *dp, int isspcl));
+char   *mktimeest __P((time_t tnow));
 
 void   Exit __P((int status));
 void   dumpabort __P((int signo));