Coda Distributed File System
Classes | Macros | Enumerations
tar-FromRedHatCD.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  posix_header
 
struct  sparse
 
struct  extra_header
 
struct  sparse_header
 
struct  oldgnu_header
 
union  block
 

Macros

#define OLDGNU_COMPATIBILITY   1
 
#define TMAGIC   "ustar" /* ustar and a null */
 
#define TMAGLEN   6
 
#define TVERSION   "00" /* 00 and no null */
 
#define TVERSLEN   2
 
#define REGTYPE   '0' /* regular file */
 
#define AREGTYPE   '\0' /* regular file */
 
#define LNKTYPE   '1' /* link */
 
#define SYMTYPE   '2' /* reserved */
 
#define CHRTYPE   '3' /* character special */
 
#define BLKTYPE   '4' /* block special */
 
#define DIRTYPE   '5' /* directory */
 
#define FIFOTYPE   '6' /* FIFO special */
 
#define CONTTYPE   '7' /* reserved */
 
#define TSUID   04000 /* set UID on execution */
 
#define TSGID   02000 /* set GID on execution */
 
#define TSVTX   01000 /* reserved */
 
#define TUREAD   00400 /* read by owner */
 
#define TUWRITE   00200 /* write by owner */
 
#define TUEXEC   00100 /* execute/search by owner */
 
#define TGREAD   00040 /* read by group */
 
#define TGWRITE   00020 /* write by group */
 
#define TGEXEC   00010 /* execute/search by group */
 
#define TOREAD   00004 /* read by other */
 
#define TOWRITE   00002 /* write by other */
 
#define TOEXEC   00001 /* execute/search by other */
 
#define SPARSES_IN_EXTRA_HEADER   16
 
#define SPARSES_IN_OLDGNU_HEADER   4
 
#define SPARSES_IN_SPARSE_HEADER   21
 
#define OLDGNU_MAGIC   "ustar " /* 7 chars and a null */
 
#define GNUTYPE_DUMPDIR   'D'
 
#define GNUTYPE_LONGLINK   'K'
 
#define GNUTYPE_LONGNAME   'L'
 
#define GNUTYPE_MULTIVOL   'M'
 
#define GNUTYPE_NAMES   'N'
 
#define GNUTYPE_SPARSE   'S'
 
#define GNUTYPE_VOLHDR   'V'
 
#define BLOCKSIZE   512
 

Enumerations

enum  archive_format {
  DEFAULT_FORMAT , V7_FORMAT , OLDGNU_FORMAT , POSIX_FORMAT ,
  GNU_FORMAT
}
 

Macro Definition Documentation

◆ AREGTYPE

#define AREGTYPE   '\0' /* regular file */

◆ BLKTYPE

#define BLKTYPE   '4' /* block special */

◆ BLOCKSIZE

#define BLOCKSIZE   512

◆ CHRTYPE

#define CHRTYPE   '3' /* character special */

◆ CONTTYPE

#define CONTTYPE   '7' /* reserved */

◆ DIRTYPE

#define DIRTYPE   '5' /* directory */

◆ FIFOTYPE

#define FIFOTYPE   '6' /* FIFO special */

◆ GNUTYPE_DUMPDIR

#define GNUTYPE_DUMPDIR   'D'

◆ GNUTYPE_LONGLINK

#define GNUTYPE_LONGLINK   'K'

◆ GNUTYPE_LONGNAME

#define GNUTYPE_LONGNAME   'L'

◆ GNUTYPE_MULTIVOL

#define GNUTYPE_MULTIVOL   'M'

◆ GNUTYPE_NAMES

#define GNUTYPE_NAMES   'N'

◆ GNUTYPE_SPARSE

#define GNUTYPE_SPARSE   'S'

◆ GNUTYPE_VOLHDR

#define GNUTYPE_VOLHDR   'V'

◆ LNKTYPE

#define LNKTYPE   '1' /* link */

◆ OLDGNU_COMPATIBILITY

#define OLDGNU_COMPATIBILITY   1

◆ OLDGNU_MAGIC

#define OLDGNU_MAGIC   "ustar " /* 7 chars and a null */

◆ REGTYPE

#define REGTYPE   '0' /* regular file */

◆ SPARSES_IN_EXTRA_HEADER

#define SPARSES_IN_EXTRA_HEADER   16

◆ SPARSES_IN_OLDGNU_HEADER

#define SPARSES_IN_OLDGNU_HEADER   4

◆ SPARSES_IN_SPARSE_HEADER

#define SPARSES_IN_SPARSE_HEADER   21

◆ SYMTYPE

#define SYMTYPE   '2' /* reserved */

◆ TGEXEC

#define TGEXEC   00010 /* execute/search by group */

◆ TGREAD

#define TGREAD   00040 /* read by group */

◆ TGWRITE

#define TGWRITE   00020 /* write by group */

◆ TMAGIC

#define TMAGIC   "ustar" /* ustar and a null */

◆ TMAGLEN

#define TMAGLEN   6

◆ TOEXEC

#define TOEXEC   00001 /* execute/search by other */

◆ TOREAD

#define TOREAD   00004 /* read by other */

◆ TOWRITE

#define TOWRITE   00002 /* write by other */

◆ TSGID

#define TSGID   02000 /* set GID on execution */

◆ TSUID

#define TSUID   04000 /* set UID on execution */

◆ TSVTX

#define TSVTX   01000 /* reserved */

◆ TUEXEC

#define TUEXEC   00100 /* execute/search by owner */

◆ TUREAD

#define TUREAD   00400 /* read by owner */

◆ TUWRITE

#define TUWRITE   00200 /* write by owner */

◆ TVERSION

#define TVERSION   "00" /* 00 and no null */

◆ TVERSLEN

#define TVERSLEN   2

Enumeration Type Documentation

◆ archive_format

Enumerator
DEFAULT_FORMAT 
V7_FORMAT 
OLDGNU_FORMAT 
POSIX_FORMAT 
GNU_FORMAT