struct ar_hdr

Defined at line 26 of file ../../src/lib/zxdump/job-archive.h

After the archive header follow any number of archive members. Each archive

member has a header in this format, followed by the contents. The exact

size of the contents is encoded in ar_size. Odd-sized members are padded

with a single `

`. The order of archive members is not significant in

general, but some special archive members with reserved names must always

appear first in the archive if they appear at all. (In job archives there

is a canonical order the dump-writer produces consistently, but the

dump-reader handles members in any order. Merely repacking an archive with

`ar` is likely to reorder members.)

Public Members

char[16] ar_name
char[12] ar_date
char[6] ar_uid
char[6] ar_gid
char[8] ar_mode
char[10] ar_size
char[2] ar_fmag
static basic_string_view kLongNamePrefix
static basic_string_view kSymbolTableName
static basic_string_view kNameTableName
static basic_string_view kNameTableTerminator
static basic_string_view kMagic

Public Methods

bool valid ()

The ar_fmag field must always have the same constant value (kMagic).

Defined at line 28 of file ../../src/lib/zxdump/job-archive.h