]> git.wh0rd.org - dump.git/blobdiff - compat/include/protocols/dumprestore.h
Fix the alpha dump header format.
[dump.git] / compat / include / protocols / dumprestore.h
index 72e999aa6fc5c361a789b138869d19557c81f9c0..77b185950fae27bc8e8956c975684f25eb60972f 100644 (file)
@@ -43,7 +43,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- *     @(#)dumprestore.h       8.2 (Berkeley) 1/21/94
+ * $Id: dumprestore.h,v 1.5 2000/01/08 10:00:41 tiniou Exp $
  */
 
 #ifndef _PROTOCOLS_DUMPRESTORE_H_
@@ -76,8 +76,8 @@ union u_spcl {
        char dummy[TP_BSIZE];
        struct  s_spcl {
                int32_t c_type;             /* record type (see below) */
-               time_t  c_date;             /* date of this dump */
-               time_t  c_ddate;            /* date of previous dump */
+               int32_t c_date;             /* date of this dump */
+               int32_t c_ddate;            /* date of previous dump */
                int32_t c_volume;           /* dump volume number */
                daddr_t c_tapea;            /* logical block of this record */
                ino_t   c_inumber;          /* number of inode */
@@ -117,8 +117,4 @@ union u_spcl {
 #define DR_NEWHEADER   0x0001  /* new format tape header */
 #define DR_NEWINODEFMT 0x0002  /* new format inodes on tape */
 
-#define        DUMPOUTFMT      "%-16s %c %s"           /* for printf */
-                                               /* name, level, ctime(date) */
-#define        DUMPINFMT       "%16s %c %[^\n]\n"      /* inverse for scanf */
-
 #endif /* !_DUMPRESTORE_H_ */