* 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.28 2001/07/19 09:49:35 stelian Exp $
*/
/*-
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 */
long tapesize; /* estimated tape size, blocks */
long tsize; /* tape size in 0.1" units */
long asize; /* number of 0.1" units written on current tape */
+unsigned long csize; /* number of compressed bytes written on current tape */
int etapes; /* estimated number of tapes */
int nonodump; /* if set, do not honor UF_NODUMP user flags */
int unlimited; /* if set, write to end of medium */
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
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));
#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