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

build/buildio.h

Go to the documentation of this file.
00001 #ifndef _H_BUILDIO_
00002 #define _H_BUILDIO_
00003 
00011 #include "psm.h"
00012 
00015 typedef struct cpioSourceArchive {
00016     unsigned int cpioArchiveSize;
00017     FD_t        cpioFdIn;
00018 /*@dependent@*/ TFI_t cpioList;
00019     struct rpmlead * lead;      /* XXX FIXME: exorcize lead/arch/os */
00020 } CSA_t;
00021 
00022 #ifdef __cplusplus
00023 extern "C" {
00024 #endif
00025 
00035 int readRPM(const char *fileName, /*@out@*/ Spec *specp, /*@out@*/ struct rpmlead *lead,
00036                 /*@out@*/ Header *sigs, CSA_t *csa);
00037 
00052 int writeRPM(Header *hdrp, const char *fileName, int type,
00053                 CSA_t *csa, char *passPhrase, /*@out@*/ const char **cookie);
00054 
00055 #ifdef __cplusplus
00056 }
00057 #endif
00058 
00059 #endif  /* _H_BUILDIO_ */

Generated at Thu Apr 19 15:29:41 2001 for rpm by doxygen1.2.6-20010408 written by Dimitri van Heesch, © 1997-2001