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