NDEVR
API Documentation
TAR::TarHdr

Represents the raw 512-byte POSIX TAR header structure (USTAR format). More...

Public Attributes

char chksum [8]
 Header checksum in octal ASCII.
char devmajor [8]
 Device major number for special files.
char devminor [8]
 Device minor number for special files.
char gid [8]
 Owner group ID in octal ASCII.
char gname [32]
 Owner group name.
char linkname [100]
 Name of the linked file for hard/symbolic links.
char magic [6]
 USTAR magic string ("ustar").
char mode [8]
 File mode in octal ASCII.
char mtime [12]
 Last modification time in octal ASCII (Unix epoch seconds).
char name [100]
 File name (null-terminated or full 100 chars).
char pad [12]
 Padding to fill the 512-byte block.
char prefix [155]
 Filename prefix for paths longer than 100 characters.
char size [12]
 File size in octal ASCII.
char typeflag
 Entry type flag (e.g., '0' for regular file, '5' for directory).
char uid [8]
 Owner user ID in octal ASCII.
char uname [32]
 Owner user name.
char version [2]
 USTAR version ("00").

Detailed Description

Represents the raw 512-byte POSIX TAR header structure (USTAR format).


Definition at line 177 of file TarReader.h.


The documentation for this struct was generated from the following file: