|
|
1.1 root 1: #ifndef _TARHEAD_
2: #define _TARHEAD_
3:
4: #define TNAMSIZ 100
5:
6: typedef union _TAR_HEAD {
7: unsigned char buf[512];
8: struct {
9: char name[TNAMSIZ]; /* nul-terminated unless full */
10: char mode[8];
11: char uid[8];
12: char gid[8];
13: char size[12];
14: char mtime[12];
15: char chksum[8];
16: char typeflag;
17: char linkname[TNAMSIZ]; /* nul-terminated unless full */
18: char magic[TMAGLEN]; /* nul-terminated */
19: char version[2];
20: char uname[32]; /* nul-terminated */
21: char gname[32]; /* nul-terminated */
22: char devmajor[8];
23: char devminor[8];
24: char prefix[155]; /* nul-terminated unless full */
25: } s;
26: } TAR_HEAD, *PTAR_HEAD;
27:
28: #endif // _TARHEAD_
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.