- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

# build/buildio.h

Go to the documentation of this file.

    00001 #ifndef _H_BUILDIO_
    00002 #define _H_BUILDIO_
    00003
    00011 #include "rpmbuild.h"
    00012
    00015 typedef /*@abstract@*/ struct cpioSourceArchive_s {
    00016     uint32_t    cpioArchiveSize;
    00017     FD_t        cpioFdIn;
    00018 /*@refcounted@*/ /*@relnull@*/
    00019     rpmfi       cpioList;
    00020 /*@only@*/
    00021     struct rpmlead * lead;      /* XXX FIXME: exorcize lead/arch/os */
    00022 } * CSA_t;
    00023
    00024 #ifdef __cplusplus
    00025 extern "C" {
    00026 #endif
    00027
    00028 #if defined(DEAD)
    00029
    00038 /*@unused@*/ int readRPM(/*@null@*/ const char * fileName,
    00039                 /*@out@*/ Spec * specp,
    00040                 /*@out@*/ void * l,
    00041                 /*@out@*/ Header * sigs,
    00042                 CSA_t csa)
    00043         /*@globals rpmGlobalMacroContext, h_errno,
    00044                 fileSystem, internalState @*/
    00045         /*@modifies *specp, *lead, *sigs, csa, csa->cpioFdIn,
    00046                 rpmGlobalMacroContext, fileSystem, internalState @*/;
    00047 #endif
    00048
    00063 rpmRC writeRPM(Header * hdrp, /*@null@*/ unsigned char ** pkgidp,
    00064                 const char * fileName,
    00065                 CSA_t csa,
    00066                 /*@null@*/ char * passPhrase,
    00067                 /*@out@*/ const char ** cookie)
    00068         /*@globals rpmGlobalMacroContext, h_errno,
    00069                 fileSystem, internalState @*/
    00070         /*@modifies *hdrp, *pkgidp, *cookie, csa, csa->cpioArchiveSize,
    00071                 rpmGlobalMacroContext, fileSystem, internalState @*/;
    00072
    00073 #ifdef __cplusplus
    00074 }
    00075 #endif
    00076
    00077 #endif  /* _H_BUILDIO_ */