Files | |
file | rpmlead.c |
file | rpmlead.h |
Routines to read and write an rpm lead structure for a a package. | |
file | rpmlib.h |
In Memoriam: Steve Taylor <staylor@redhat.com> was here, now he's not. | |
Data Structures | |
struct | rpmlead |
The lead data structure. More... | |
Functions | |
rpmRC | writeLead (FD_t fd, const struct rpmlead *lead) |
Write lead to file handle. | |
rpmRC | readLead (FD_t fd, struct rpmlead *lead) |
Read lead from file handle. |
Read lead from file handle.
fd | file handle |
lead | package lead |
Definition at line 48 of file rpmlead.c.
References _, errno, Ferror(), Fstrerror(), lead_magic, RPMERR_READ, rpmError, RPMRC_FAIL, RPMRC_NOTFOUND, RPMRC_OK, RPMSIGTYPE_HEADERSIG, and timedRead.
Referenced by main(), rpmReadPackageFile(), rpmReSign(), and rpmVerifySignatures().
Write lead to file handle.
fd | file handle | |
lead | package lead |
Definition at line 26 of file rpmlead.c.
References Fwrite(), lead_magic, RPMRC_FAIL, and RPMRC_OK.
Referenced by main(), rpmpsmStage(), rpmReSign(), and writeRPM().