Commit | Line | Data |
---|---|---|
caf79156 KT |
1 | #define NTREC 20 |
2 | #define MLEN 16 | |
3 | #define MSIZ 4096 | |
4 | ||
5 | #define TS_TAPE 1 | |
6 | #define TS_INODE 2 | |
7 | #define TS_BITS 3 | |
8 | #define TS_ADDR 4 | |
9 | #define TS_END 5 | |
10 | #define TS_CLRI 6 | |
11 | #define MAGIC (int)60011 | |
12 | #define CHECKSUM (int)84446 | |
13 | struct spcl | |
14 | { | |
15 | int c_type; | |
16 | time_t c_date; | |
17 | time_t c_ddate; | |
18 | int c_volume; | |
19 | daddr_t c_tapea; | |
20 | ino_t c_inumber; | |
21 | int c_magic; | |
22 | int c_checksum; | |
23 | struct dinode c_dinode; | |
24 | int c_count; | |
25 | char c_addr[BSIZE]; | |
26 | } spcl; | |
27 | ||
28 | struct idates | |
29 | { | |
30 | char id_name[16]; | |
31 | char id_incno; | |
32 | time_t id_ddate; | |
33 | }; |