# file/src/tar.h File Reference

Go to the source code of this file.

## Data Structures

union | record
struct | record::header
struct | name
struct | link

## Defines

#define | TAR_EXTERN extern
#define | RECORDSIZE 512
#define | NAMSIZ 100
#define | TUNMLEN 32
#define | TGNMLEN 32
#define | CHKBLANKS " "
#define | TMAGIC "ustar"
#define | GNUTMAGIC "ustar "
#define | LF_OLDNORMAL '\0'
#define | LF_NORMAL '0'
#define | LF_LINK '1'
#define | LF_SYMLINK '2'
#define | LF_CHR '3'
#define | LF_BLK '4'
#define | LF_DIR '5'
#define | LF_FIFO '6'
#define | LF_CONTIG '7'
#define | EX_SUCCESS 0
#define | EX_ARGSBAD 1
#define | EX_BADFILE 2
#define | EX_BADARCH 3
#define | EX_SYSTEM 4

## Define Documentation

#define CHKBLANKS " "

Definition at line 82 of file tar.h.

#define EX_ARGSBAD 1

Definition at line 104 of file tar.h.

#define EX_BADARCH 3

Definition at line 106 of file tar.h.

#define EX_BADFILE 2

Definition at line 105 of file tar.h.

#define EX_SUCCESS 0

Definition at line 103 of file tar.h.

#define EX_SYSTEM 4

Definition at line 107 of file tar.h.

#define GNUTMAGIC "ustar "

Definition at line 86 of file tar.h.

#define LF_BLK '4'

Definition at line 94 of file tar.h.

#define LF_CHR '3'

Definition at line 93 of file tar.h.

#define LF_CONTIG '7'

Definition at line 97 of file tar.h.

#define LF_DIR '5'

Definition at line 95 of file tar.h.

#define LF_FIFO '6'

Definition at line 96 of file tar.h.

#define LF_LINK '1'

Definition at line 91 of file tar.h.

#define LF_NORMAL '0'

Definition at line 90 of file tar.h.

#define LF_OLDNORMAL '\0'

Definition at line 89 of file tar.h.

#define LF_SYMLINK '2'

Definition at line 92 of file tar.h.

#define NAMSIZ 100

Definition at line 57 of file tar.h.

#define RECORDSIZE 512

Definition at line 56 of file tar.h.

#define TAR_EXTERN extern

Definition at line 45 of file tar.h.

#define TGNMLEN 32

Definition at line 59 of file tar.h.

#define TMAGIC "ustar"

Definition at line 85 of file tar.h.

#define TUNMLEN 32

Definition at line 58 of file tar.h.