]> git.wh0rd.org - dump.git/blobdiff - dump/dump.h
From Uwe Gohlke:
[dump.git] / dump / dump.h
index e719f4388dc83941a036c282a1a7b56243cf10e0..5b052c8a592a4d65e810325119e58678b2366808 100644 (file)
@@ -5,7 +5,7 @@
  *     Stelian Pop <stelian@popies.net>, 1999-2000
  *     Stelian Pop <stelian@popies.net> - AlcĂ´ve <www.alcove.com>, 2000-2002
  *
- *     $Id: dump.h,v 1.44 2003/03/30 15:40:35 stelian Exp $
+ *     $Id: dump.h,v 1.47 2003/10/26 16:05:46 stelian Exp $
  */
 
 /*-
@@ -75,7 +75,7 @@ extern char   lastlevel;      /* dump level of previous dump */
 extern char    level;          /* dump level of this dump */
 extern int     Afile;          /* archive file descriptor */
 extern int      AfileActive;    /* Afile flag */
-extern int     bzipflag;       /* compression is done using bzlib */
+extern int     zipflag;        /* which compression method */
 extern int     uflag;          /* update flag */
 extern int     mflag;          /* dump metadata only if possible flag */
 extern int     Mflag;          /* multi-volume flag */
@@ -263,6 +263,15 @@ extern int errno;
 int dump_fs_open(const char *disk, ext2_filsys *fs);
 #endif
 
+#ifndef        __linux__
+#ifndef        _PATH_UTMP
+#define        _PATH_UTMP      "/etc/utmp"
+#endif
+#ifndef        _PATH_FSTAB
+#define        _PATH_FSTAB     "/etc/fstab"
+#endif
+#endif
+
 #ifdef sunos
 extern char *calloc();
 extern char *malloc();
@@ -277,6 +286,3 @@ extern off_t lseek();
 extern const char *strerror();
 #endif
 
-                               /* 04-Feb-00 ILC */
-#define IEXCLUDE_MAXNUM 256    /* max size of inode exclude list */
-