X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=dump%2Fdump.h;h=2f570ecb977b06b8858c744af3e1ed1ea4842b97;hb=fec671d14f580b0264f24b71735a728b467baf21;hp=5485ec4a3bd2b1454c8dacee4016d5ff113782e1;hpb=a1b67fc50f87e9febfd56bd2a7089eb569b852f6;p=dump.git diff --git a/dump/dump.h b/dump/dump.h index 5485ec4..2f570ec 100644 --- a/dump/dump.h +++ b/dump/dump.h @@ -5,7 +5,7 @@ * Stelian Pop , 1999-2000 * Stelian Pop - AlcĂ´ve , 2000 * - * $Id: dump.h,v 1.22 2001/03/20 10:02:48 stelian Exp $ + * $Id: dump.h,v 1.26 2001/07/18 13:12:33 stelian Exp $ */ /*- @@ -79,12 +79,14 @@ 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 */ 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 */ @@ -107,6 +109,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 #endif @@ -132,6 +144,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));