|
|
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 MAGIC4K (int)60101
13: #define CHECKSUM (int)84446
14:
15: struct spcl {
16: int c_type;
17: time_t c_date;
18: time_t c_ddate;
19: int c_volume;
20: daddr_t c_tapea;
21: ino_t c_inumber;
22: int c_magic;
23: int c_checksum;
24: struct dinode c_dinode;
25: int c_count;
26: char c_addr[BSIZE(0)];
27: } spcl;
28:
29: struct idates {
30: char id_name[16];
31: char id_incno;
32: time_t id_ddate;
33: };
34:
35: #define DUMPOUTFMT "%-16s %c %s" /* for printf */
36: /* name, incno, ctime(date) */
37: #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.