1: /* sccs id "@(#)dumprestor.h 1.4 11/9/81" */
2:
3: #define NTREC 10
4: #define MLEN 16
5: #define MSIZ 2048
6:
7: #define TS_TAPE 1
8: #define TS_INODE 2
9: #define TS_BITS 3
10: #define TS_ADDR 4
11: #define TS_END 5
12: #define TS_CLRI 6
13: #define MAGIC (int)60011
14: #define CHECKSUM (int)84446
15:
16: struct spcl {
17: int c_type;
18: time_t c_date;
19: time_t c_ddate;
20: int c_volume;
21: daddr_t c_tapea;
22: ino_t c_inumber;
23: int c_magic;
24: int c_checksum;
25: struct dinode c_dinode;
26: int c_count;
27: char c_addr[BSIZE];
28: } spcl;
29:
30: struct idates {
31: char id_name[16];
32: char id_incno;
33: time_t id_ddate;
34: };
35:
36: #define DUMPOUTFMT "%-16s %c %s" /* for printf */
37: /* name, incno, ctime(date) */
38: #define DUMPINFMT "%16s %c %[^\n]\n" /* inverse for scanf */
Defined variables
spcl
defined in line
28;
never used
Defined struct's
spcl
defined in line
16;
never used
Defined macros
MAGIC
defined in line
13;
never used
MLEN
defined in line
4;
never used
MSIZ
defined in line
5;
never used
NTREC
defined in line
3;
never used