ddc
Macros
tar.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TSUID   04000
 
#define TSGID   02000
 
#define TSVTX   01000
 
#define TUREAD   00400
 
#define TUWRITE   00200
 
#define TUEXEC   00100
 
#define TGREAD   00040
 
#define TGWRITE   00020
 
#define TGEXEC   00010
 
#define TOREAD   00004
 
#define TOWRITE   00002
 
#define TOEXEC   00001
 
#define REGTYPE   '0' /* Regular file (preferred code). */
 
#define AREGTYPE   '\0' /* Regular file (alternate code). */
 
#define LNKTYPE   '1' /* Hard link. */
 
#define SYMTYPE   '2' /* Symbolic link (hard if not supported). */
 
#define CHRTYPE   '3' /* Character special. */
 
#define BLKTYPE   '4' /* Block special. */
 
#define DIRTYPE   '5' /* Directory. */
 
#define FIFOTYPE   '6' /* Named pipe. */
 
#define CONTTYPE   '7' /* Contiguous file */
 
#define TMAGIC   "ustar"
 
#define TMAGLEN   6
 
#define TVERSION   "00"
 
#define TVERSLEN   2
 

Macro Definition Documentation

◆ TSUID

#define TSUID   04000

◆ TSGID

#define TSGID   02000

◆ TSVTX

#define TSVTX   01000

◆ TUREAD

#define TUREAD   00400

◆ TUWRITE

#define TUWRITE   00200

◆ TUEXEC

#define TUEXEC   00100

◆ TGREAD

#define TGREAD   00040

◆ TGWRITE

#define TGWRITE   00020

◆ TGEXEC

#define TGEXEC   00010

◆ TOREAD

#define TOREAD   00004

◆ TOWRITE

#define TOWRITE   00002

◆ TOEXEC

#define TOEXEC   00001

◆ REGTYPE

#define REGTYPE   '0' /* Regular file (preferred code). */

Referenced by tar_header::IsRegFile().

◆ AREGTYPE

#define AREGTYPE   '\0' /* Regular file (alternate code). */

◆ LNKTYPE

#define LNKTYPE   '1' /* Hard link. */

◆ SYMTYPE

#define SYMTYPE   '2' /* Symbolic link (hard if not supported). */

◆ CHRTYPE

#define CHRTYPE   '3' /* Character special. */

◆ BLKTYPE

#define BLKTYPE   '4' /* Block special. */

◆ DIRTYPE

#define DIRTYPE   '5' /* Directory. */

Referenced by tar_header::IsDirectory().

◆ FIFOTYPE

#define FIFOTYPE   '6' /* Named pipe. */

◆ CONTTYPE

#define CONTTYPE   '7' /* Contiguous file */

Referenced by tar_header::IsRegFile().

◆ TMAGIC

#define TMAGIC   "ustar"

◆ TMAGLEN

#define TMAGLEN   6

◆ TVERSION

#define TVERSION   "00"

◆ TVERSLEN

#define TVERSLEN   2