Main Page   Modules   Compound List   File List   Compound Members   File Members   Related Pages  

build/buildio.h

Go to the documentation of this file.
00001 #ifndef _H_BUILDIO_
00002 #define _H_BUILDIO_
00003 
00009 #include "cpio.h"
00010 
00011 typedef struct cpioSourceArchive {
00012     unsigned int cpioArchiveSize;
00013     FD_t        cpioFdIn;
00014 /*@dependent@*/ struct cpioFileMapping *cpioList;
00015     int         cpioCount;
00016     struct rpmlead *lead;       /* XXX FIXME: exorcize lead/arch/os */
00017 } CSA_t;
00018 
00019 #ifdef __cplusplus
00020 extern "C" {
00021 #endif
00022 
00032 int readRPM(const char *fileName, /*@out@*/ Spec *specp, /*@out@*/ struct rpmlead *lead,
00033                 /*@out@*/ Header *sigs, CSA_t *csa);
00034 
00049 int writeRPM(Header *hdrp, const char *fileName, int type,
00050                 CSA_t *csa, char *passPhrase, /*@out@*/ const char **cookie);
00051 
00052 #ifdef __cplusplus
00053 }
00054 #endif
00055 
00056 #endif  /* _H_BUILDIO_ */

Generated at Mon May 21 08:53:38 2001 for rpm by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001