rpm  5.4.14
Data Fields
rpmlead Struct Reference

The lead data structure. More...

Data Fields

unsigned char magic [4]
 
unsigned char major
 
unsigned char minor
 
unsigned short type
 
unsigned short archnum
 
char name [66]
 
unsigned short osnum
 
unsigned short signature_type
 
char reserved [16]
 

Detailed Description

The lead data structure.

The lead needs to be 8 byte aligned.

Deprecated:
The lead (except for signature_type) is legacy.
Todo:
Don't use any information from lead.

Definition at line 480 of file pkgio.c.

Field Documentation

unsigned short rpmlead::archnum

Definition at line 485 of file pkgio.c.

Referenced by rdLead(), and wrLead().

unsigned char rpmlead::magic[4]

Definition at line 481 of file pkgio.c.

Referenced by rdLead(), and wrLead().

unsigned char rpmlead::major

Definition at line 482 of file pkgio.c.

Referenced by rdLead(), and wrLead().

unsigned char rpmlead::minor

Definition at line 483 of file pkgio.c.

char rpmlead::name[66]

Definition at line 486 of file pkgio.c.

Referenced by wrLead().

unsigned short rpmlead::osnum

Definition at line 487 of file pkgio.c.

Referenced by rdLead(), and wrLead().

char rpmlead::reserved[16]

Pad to 96 bytes – 8 byte aligned!

Definition at line 490 of file pkgio.c.

unsigned short rpmlead::signature_type

Signature type (RPMSIG_HEADERSIG)

Definition at line 488 of file pkgio.c.

Referenced by rdLead(), and wrLead().

unsigned short rpmlead::type

Definition at line 484 of file pkgio.c.

Referenced by rdLead(), and wrLead().


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