]> git.wh0rd.org - dump.git/blobdiff - dump/dump.h
Pretty printing when excluding inodes.
[dump.git] / dump / dump.h
index 8235858b0bc916b4ee03dbecb9c91a84381d2abe..1f4ab9ec8a84df21610e53c868207157e37084d5 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.23 2001/04/10 12:46:53 stelian Exp $
+ *     $Id: dump.h,v 1.28 2001/07/19 09:49:35 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 */
@@ -113,6 +115,7 @@ int tp_bshift;      /* log2(TP_BSIZE) */
 int    gTapeposfd;
 char   *gTapeposfile;
 char   gTps[255];
+int32_t        gThisDumpDate;
 int    GetTapePos __P((long *pos));
 #endif /* USE_QFA */
 
@@ -141,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));
 
@@ -183,6 +187,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