Go to the source code of this file.
Functions | |
rpmRC | writeLead (FD_t fd, const struct rpmlead *lead) |
rpmRC | readLead (FD_t fd, struct rpmlead *lead) |
Definition in file rpmlead.h.
|
Read lead from file handle.
Definition at line 48 of file rpmlead.c. References _, rpmlead::archnum, errno, Fstrerror(), lead_magic, rpmlead::magic, rpmlead::osnum, RPMERR_READ, rpmError, rpmRC, RPMRC_FAIL, RPMRC_OK, RPMSIGTYPE_HEADERSIG, rpmlead::signature_type, timedRead, and rpmlead::type. Referenced by main(), rpmReadPackageFile(), rpmReSign(), and rpmVerifySignatures(). |
|
Write lead to file handle.
Definition at line 26 of file rpmlead.c. References rpmlead::archnum, Fwrite(), lead_magic, rpmlead::magic, rpmlead::osnum, rpmRC, RPMRC_FAIL, RPMRC_OK, rpmlead::signature_type, and rpmlead::type. Referenced by main(), rpmpsmStage(), rpmReSign(), and writeRPM(). |