rpm 5.2.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

Data Structures | Defines
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 " " /* 8 blanks, no null */
#define | TMAGIC "ustar" /* 5 chars and a null */
#define | GNUTMAGIC "ustar " /* 7 chars and a null */
#define | LF_OLDNORMAL '\0' /* Normal disk file, Unix compat */
#define | LF_NORMAL '0' /* Normal disk file */
#define | LF_LINK '1' /* Link to previously dumped file */
#define | LF_SYMLINK '2' /* Symbolic link */
#define | LF_CHR '3' /* Character special file */
#define | LF_BLK '4' /* Block special file */
#define | LF_DIR '5' /* Directory */
#define | LF_FIFO '6' /* FIFO special file */
#define | LF_CONTIG '7' /* Contiguous file */
#define | EX_SUCCESS 0 /* success! */
#define | EX_ARGSBAD 1 /* invalid args */
#define | EX_BADFILE 2 /* invalid filename */
#define | EX_BADARCH 3 /* bad archive */
#define | EX_SYSTEM 4 /* system gave unexpected error */

## Define Documentation

#define CHKBLANKS " " /* 8 blanks, no null */

Definition at line 82 of file tar.h.

#define EX_ARGSBAD 1 /* invalid args */

Definition at line 104 of file tar.h.

#define EX_BADARCH 3 /* bad archive */

Definition at line 106 of file tar.h.

#define EX_BADFILE 2 /* invalid filename */

Definition at line 105 of file tar.h.

#define EX_SUCCESS 0 /* success! */

Definition at line 103 of file tar.h.

#define EX_SYSTEM 4 /* system gave unexpected error */

Definition at line 107 of file tar.h.

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

Definition at line 86 of file tar.h.

#define LF_BLK '4' /* Block special file */

Definition at line 94 of file tar.h.

#define LF_CHR '3' /* Character special file */

Definition at line 93 of file tar.h.

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

Definition at line 97 of file tar.h.

#define LF_DIR '5' /* Directory */

Definition at line 95 of file tar.h.

#define LF_FIFO '6' /* FIFO special file */

Definition at line 96 of file tar.h.

#define LF_LINK '1' /* Link to previously dumped file */

Definition at line 91 of file tar.h.

#define LF_NORMAL '0' /* Normal disk file */

Definition at line 90 of file tar.h.

#define LF_OLDNORMAL '\0' /* Normal disk file, Unix compat */

Definition at line 89 of file tar.h.

#define LF_SYMLINK '2' /* Symbolic link */

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" /* 5 chars and a null */

Definition at line 85 of file tar.h.

#define TUNMLEN 32

Definition at line 58 of file tar.h.