|
|
1.1 root 1: #define NTREC 10
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:
14: struct spcl {
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: char id_name[16];
30: char id_incno;
31: time_t id_ddate;
32: };
33:
34: #define DUMPOUTFMT "%-16s %c %s" /* for printf */
35: /* name, incno, ctime(date) */
36: #define DUMPINFMT "%16s %c %[^\n]\n" /* inverse for scanf */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.