Go to the documentation of this file.00001 #ifndef _H_BUILDIO_
00002 #define _H_BUILDIO_
00003
00011 #include "rpmbuild.h"
00012
00015 typedef struct cpioSourceArchive_s {
00016 rpmuint32_t cpioArchiveSize;
00017
00018 FD_t cpioFdIn;
00019
00020 rpmfi cpioList;
00021
00022 struct rpmlead * lead;
00023 } * CSA_t;
00024
00025 #ifdef __cplusplus
00026 extern "C" {
00027 #endif
00028
00029 #if defined(DEAD)
00030
00039 int readRPM( const char * fileName,
00040 Spec * specp,
00041 void * l,
00042 Header * sigs,
00043 CSA_t csa)
00044
00045
00046
00047 ;
00048 #endif
00049
00064 rpmRC writeRPM(Header * hdrp, unsigned char ** pkgidp,
00065 const char * fileName,
00066 CSA_t csa,
00067 char * passPhrase,
00068 const char ** cookie)
00069
00070
00071
00072 ;
00073
00074 #ifdef __cplusplus
00075 }
00076 #endif
00077
00078 #endif