Files | |
file | rpmlead.c |
file | rpmlead.h |
Routines to read and write an rpm lead structure for a a package. | |
file | rpmlib.h |
Data Structures | |
struct | rpmlead |
The lead data structure. More... | |
Functions | |
int | writeLead (FD_t fd, const struct rpmlead *lead) |
Write lead to file handle. | |
int | readLead (FD_t fd, struct rpmlead *lead) |
Read lead from file handle. |
|
Read lead from file handle.
Definition at line 45 of file rpmlead.c. References _, errno, Fstrerror(), RPMERR_READ, rpmError, and timedRead. Referenced by main(), readPackageHeaders(), rpmCheckSig(), and rpmReSign(). |
|
Write lead to file handle.
Definition at line 20 of file rpmlead.c. References rpmlead::archnum, Fwrite(), rpmlead::magic, rpmlead::osnum, RPMLEAD_MAGIC0, RPMLEAD_MAGIC1, RPMLEAD_MAGIC2, RPMLEAD_MAGIC3, rpmlead::signature_type, and rpmlead::type. Referenced by main(), psmStage(), rpmReSign(), and writeRPM(). |