]> git.wh0rd.org - dump.git/blobdiff - dump/dump.h
Updated and cleaned the -B compressed limit.
[dump.git] / dump / dump.h
index 5485ec4a3bd2b1454c8dacee4016d5ff113782e1..dacfee1ead2e0a72bd2556392f90abe2a51f7db6 100644 (file)
@@ -5,7 +5,7 @@
  *     Stelian Pop <pop@noos.fr>, 1999-2000
  *     Stelian Pop <pop@noos.fr> - AlcĂ´ve <www.alcove.fr>, 2000
  *
- *     $Id: dump.h,v 1.22 2001/03/20 10:02:48 stelian Exp $
+ *     $Id: dump.h,v 1.29 2001/07/20 11:02:45 stelian Exp $
  */
 
 /*-
@@ -79,6 +79,7 @@ char  *eot_script;    /* end of volume script fiag */
 int    diskfd;         /* disk file descriptor */
 int    tapefd;         /* tape file descriptor */
 int    pipeout;        /* true => output to standard output */
+int    fifoout;        /* true => output to fifo */
 dump_ino_t curino;     /* current inumber; used globally */
 int    newtape;        /* new tape flag */
 int    density;        /* density in 0.1" units */
@@ -107,6 +108,16 @@ long       dev_bsize;      /* block size of underlying disk device */
 int    dev_bshift;     /* log2(dev_bsize) */
 int    tp_bshift;      /* log2(TP_BSIZE) */
 
+#ifdef USE_QFA
+#define        QFA_MAGIC       "495115637697"
+#define QFA_VERSION    "1.0"
+int    gTapeposfd;
+char   *gTapeposfile;
+char   gTps[255];
+int32_t        gThisDumpDate;
+int    GetTapePos __P((long *pos));
+#endif /* USE_QFA */
+
 #ifndef __P
 #include <sys/cdefs.h>
 #endif
@@ -132,6 +143,7 @@ long        blockest __P((struct dinode const *dp));
 int    mapfiles __P((dump_ino_t maxino, long *tapesize));
 #ifdef __linux__
 int    mapfilesfromdir __P((dump_ino_t maxino, long *tapesize, char *directory));
+int    maponefile __P((dump_ino_t maxino, long *tapesize, char *directory));
 #endif
 int    mapdirs __P((dump_ino_t maxino, long *tapesize));
 
@@ -174,6 +186,8 @@ int rmtioctl __P((int cmd, int count));
 #endif /* RDUMP */
 
 void   interrupt __P((int signo));     /* in case operator bangs on console */
+int    exclude_ino __P((dump_ino_t ino));
+void   do_exclude_ino __P((dump_ino_t ino, const char *));
 
 /*
  *     Exit status codes