rpm  4.5
Data Fields
rpmlead Struct Reference

The lead data structure. More...

#include <lib/rpmlib.h>

Data Fields

unsigned char magic [4]
 
unsigned char major
 
unsigned char minor
 
short type
 
short archnum
 
char name [66]
 
short osnum
 
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 1029 of file rpmlib.h.

Field Documentation

short rpmlead::archnum

Definition at line 1034 of file rpmlib.h.

Referenced by readLead(), rpmpsmStage(), writeLead(), and writeRPM().

unsigned char rpmlead::magic[4]

Definition at line 1030 of file rpmlib.h.

Referenced by readLead(), and writeLead().

unsigned char rpmlead::major

Definition at line 1031 of file rpmlib.h.

Referenced by rpmpsmStage(), rpmReadPackageFile(), rpmReSign(), rpmVerifySignatures(), and writeRPM().

unsigned char rpmlead::minor

Definition at line 1032 of file rpmlib.h.

Referenced by rpmpsmStage(), and writeRPM().

char rpmlead::name[66]

Definition at line 1035 of file rpmlib.h.

Referenced by rpmpsmStage(), and writeRPM().

short rpmlead::osnum

Definition at line 1036 of file rpmlib.h.

Referenced by readLead(), rpmpsmStage(), writeLead(), and writeRPM().

char rpmlead::reserved[16]

Pad to 96 bytes – 8 byte aligned!

Definition at line 1038 of file rpmlib.h.

short rpmlead::signature_type

Signature header type (RPMSIG_HEADERSIG)

Definition at line 1037 of file rpmlib.h.

Referenced by readLead(), rpmpsmStage(), rpmReadPackageFile(), rpmReSign(), rpmVerifySignatures(), writeLead(), and writeRPM().

short rpmlead::type

Definition at line 1033 of file rpmlib.h.

Referenced by readLead(), rpmpsmStage(), rpmReSign(), writeLead(), and writeRPM().


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