1: /*
2: * Copyright (c) 1986 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: *
6: * @(#)dumprestor.h 5.1 (Berkeley) 12/13/86
7: */
8:
9: #define NTREC 10
10: #define MLEN 16
11: #define MSIZ 4096
12:
13: #define TS_TAPE 1
14: #define TS_INODE 2
15: #define TS_BITS 3
16: #define TS_ADDR 4
17: #define TS_END 5
18: #define TS_CLRI 6
19: #define OFS_MAGIC (int)60011
20: #define NFS_MAGIC (int)60012
21: #define MAGIC OFS_MAGIC
22: #define CHECKSUM (int)84446
23:
24: struct spcl {
25: int c_type;
26: time_t c_date;
27: time_t c_ddate;
28: int c_volume;
29: daddr_t c_tapea;
30: ino_t c_inumber;
31: int c_magic;
32: int c_checksum;
33: struct dinode c_dinode;
34: int c_count;
35: char c_addr[DEV_BSIZE];
36: } spcl;
37:
38: struct idates {
39: char id_name[16];
40: char id_incno;
41: time_t id_ddate;
42: };
43:
44: #define DUMPOUTFMT "%-16s %c %s" /* for printf */
45: /* name, incno, ctime(date) */
46: #define DUMPINFMT "%16s %c %[^\n]\n" /* inverse for scanf */
Defined variables
spcl
defined in line
36;
never used
Defined struct's
spcl
defined in line
24;
never used
Defined macros
MAGIC
defined in line
21;
never used
MLEN
defined in line
10;
never used
MSIZ
defined in line
11;
never used
NTREC
defined in line
9;
never used