Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

LEAD.


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

Functions

int writeLead (FD_t fd, struct rpmlead *lead)
int readLead (FD_t fd, struct rpmlead *lead)

Function Documentation

int readLead ( FD_t fd,
struct rpmlead * lead )
 

Read lead from file handle.

Parameters:
fd   file handle
Return values:
lead   data address
Returns:
0 on success, 1 on error

Definition at line 45 of file rpmlead.c.

Referenced by main(), readPackageHeaders(), rpmCheckSig(), and rpmReSign().

int writeLead ( FD_t fd,
struct rpmlead * lead )
 

Write lead to file handle.

Parameters:
fd   file handle
lead   data address
Returns:
0 on success, 1 on error

Definition at line 22 of file rpmlead.c.

Referenced by main(), psmStage(), rpmReSign(), and writeRPM().


Generated at Wed Mar 27 03:57:02 2002 for rpm by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001