fixes q order problems and temporary file names when inchar > 'z'.
[unix-history] / usr / src / include / protocols / dumprestore.h
index 2025ab0..72291cd 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright (c) 1981 Regents of the University of California */
 
 /* Copyright (c) 1981 Regents of the University of California */
 
-/* "@(#)dumprestore.h 2.2 %G%" */
+/* "@(#)dumprestore.h 2.4 %G%" */
 
 /*
  * TP_BSIZE is the size of file blocks on the dump tapes.
 
 /*
  * TP_BSIZE is the size of file blocks on the dump tapes.
@@ -9,15 +9,11 @@
  * NTREC is the number of TP_BSIZE blocks that are written
  * in each tape record.
  *
  * NTREC is the number of TP_BSIZE blocks that are written
  * in each tape record.
  *
- * BLKING calculates the number of TP_BSIZE blocks in a file
- * system frag.
- *
  * TP_NINDIR is the number of indirect pointers in a TS_INODE
  * or TS_ADDR record. Note that it must be a power of two.
  */
 #define TP_BSIZE       1024
 #define NTREC          10
  * TP_NINDIR is the number of indirect pointers in a TS_INODE
  * or TS_ADDR record. Note that it must be a power of two.
  */
 #define TP_BSIZE       1024
 #define NTREC          10
-#define BLKING(fs)     ((fs)->fs_fsize/TP_BSIZE)
 #define TP_NINDIR      (TP_BSIZE/2)
 
 #define TS_TAPE        1
 #define TP_NINDIR      (TP_BSIZE/2)
 
 #define TS_TAPE        1
@@ -49,12 +45,6 @@ union u_spcl {
 
 #define spcl u_spcl.s_spcl
 
 
 #define spcl u_spcl.s_spcl
 
-struct idates {
-       char    id_name[16];
-       char    id_incno;
-       time_t  id_ddate;
-};
-
 #define        DUMPOUTFMT      "%-16s %c %s"           /* for printf */
                                                /* name, incno, ctime(date) */
 #define        DUMPINFMT       "%16s %c %[^\n]\n"      /* inverse for scanf */
 #define        DUMPOUTFMT      "%-16s %c %s"           /* for printf */
                                                /* name, incno, ctime(date) */
 #define        DUMPINFMT       "%16s %c %[^\n]\n"      /* inverse for scanf */