PAX Record Tracking Flags

Bit flags tracking successfully parsed fields from a PAX extended header. More...

Defines

Name
MPTAR_PAX_HAS_PATH
Bit set if a path keyword existed in the pax entry and parsing the path was successful.
MPTAR_PAX_HAS_LINK
Bit set if a linkpath keyword existed in the pax entry and parsing the linkpath was successful.
MPTAR_PAX_HAS_SIZE
Bit set if a size keyword existed in the pax entry and parsing the size was successful.
MPTAR_PAX_HAS_MTIME
Bit set if an mtime keyword existed in the pax entry and parsing the mtime was successful.
MPTAR_PAX_HAS_UID
Bit set if a uid keyword existed in the pax entry and parsing the uid was successful.
MPTAR_PAX_HAS_GID
Bit set if a gid keyword existed in the pax entry and parsing the gid was successful.
MPTAR_PAX_HAS_ATIME
Bit set if an atime keyword existed in the pax entry and parsing the atime was successful.
MPTAR_PAX_HAS_CTIME
Bit set if a ctime keyword existed in the pax entry and parsing the ctime was successful.
MPTAR_PAX_HAS_UNAME
Bit set if a uname keyword existed in the pax entry and parsing the uname was successful.
MPTAR_PAX_HAS_GNAME
Bit set if a gname keyword existed in the pax entry and parsing the gname was successful.

Detailed Description

Bit flags tracking successfully parsed fields from a PAX extended header.

Note: These flags indicate that a PAX keyword was both present in the block and successfully parsed into mptar_metadata. If keyword parsing fails, the respective bit is explicitly left unset.

Macros Documentation

define MPTAR_PAX_HAS_PATH

#define MPTAR_PAX_HAS_PATH (1 << 0)

Bit set if a path keyword existed in the pax entry and parsing the path was successful.

#define MPTAR_PAX_HAS_LINK (1 << 1)

Bit set if a linkpath keyword existed in the pax entry and parsing the linkpath was successful.

define MPTAR_PAX_HAS_SIZE

#define MPTAR_PAX_HAS_SIZE (1 << 2)

Bit set if a size keyword existed in the pax entry and parsing the size was successful.

define MPTAR_PAX_HAS_MTIME

#define MPTAR_PAX_HAS_MTIME (1 << 3)

Bit set if an mtime keyword existed in the pax entry and parsing the mtime was successful.

define MPTAR_PAX_HAS_UID

#define MPTAR_PAX_HAS_UID (1 << 4)

Bit set if a uid keyword existed in the pax entry and parsing the uid was successful.

define MPTAR_PAX_HAS_GID

#define MPTAR_PAX_HAS_GID (1 << 5)

Bit set if a gid keyword existed in the pax entry and parsing the gid was successful.

define MPTAR_PAX_HAS_ATIME

#define MPTAR_PAX_HAS_ATIME (1 << 6)

Bit set if an atime keyword existed in the pax entry and parsing the atime was successful.

define MPTAR_PAX_HAS_CTIME

#define MPTAR_PAX_HAS_CTIME (1 << 7)

Bit set if a ctime keyword existed in the pax entry and parsing the ctime was successful.

define MPTAR_PAX_HAS_UNAME

#define MPTAR_PAX_HAS_UNAME (1 << 8)

Bit set if a uname keyword existed in the pax entry and parsing the uname was successful.

define MPTAR_PAX_HAS_GNAME

#define MPTAR_PAX_HAS_GNAME (1 << 9)

Bit set if a gname keyword existed in the pax entry and parsing the gname was successful.


Updated on 2026-07-23 at 20:07:34 +0000