|
|
1.1 root 1: /*++
2:
3: Copyright (c) 1992 Microsoft Corporation
4:
5: Module Name:
6:
7: tar.h
8:
9: Abstract:
10:
1.1.1.2 ! root 11: Stuff for the 'tar' data interchange format, as in 1003.1-88
1.1 root 12: (10.1.1)
13:
14: --*/
15:
16: #ifndef _TAR_
17: #define _TAR_
18:
19: #define TMAGIC "ustar" /* ustar and a nul */
20: #define TMAGLEN 6
21: #define TVERSION "00" /* 00 and no nul */
22: #define TVERSLEN 2
23:
24: /* Values used in typeflag field */
25:
26: #define REGTYPE '0' /* regular file */
27: #define AREGTYPE '\0' /* regular file */
28: #define LNKTYPE '1' /* link */
29: #define SYMTYPE '2' /* symlink */
30: #define CHRTYPE '3' /* character special */
31: #define BLKTYPE '4' /* block special */
32: #define DIRTYPE '5' /* directory */
33: #define FIFOTYPE '6' /* FIFO special */
34: #define CONTTYPE '7' /* high-performance */
35:
36: /* Bits used in the mode field -- values in octal */
37:
38: #define TSUID 04000 /* set UID on execution */
39: #define TSGID 02000 /* set GID on execution */
40: #define TSVTX 01000 /* reserved */
41: /* File Permissions */
42: #define TUREAD 00400 /* read by owner */
43: #define TUWRITE 00200 /* write by owner */
44: #define TUEXEC 00100 /* execute/search by owner */
45: #define TGREAD 00040 /* read by group */
46: #define TGWRITE 00020 /* write by group */
47: #define TGEXEC 00010 /* execute/search by group */
48: #define TOREAD 00004 /* read by other */
49: #define TOWRITE 00002 /* write by other */
50: #define TOEXEC 00001 /* execute/search by other */
51:
52: #endif /* _TAR_ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.