rpm 5.2.1

- 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     rpmuint32_t cpioArchiveSize;
    00017 /*@relnull@*/
    00018     FD_t        cpioFdIn;
    00019 /*@refcounted@*/ /*@relnull@*/
    00020     rpmfi       cpioList;
    00021 /*@only@*/
    00022     struct rpmlead * lead;      /* XXX FIXME: exorcize lead/arch/os */
    00023 } * CSA_t;
    00024
    00025 #ifdef __cplusplus
    00026 extern "C" {
    00027 #endif
    00028
    00029 #if defined(DEAD)
    00030
    00039 /*@unused@*/ int readRPM(/*@null@*/ const char * fileName,
    00040                 /*@out@*/ Spec * specp,
    00041                 /*@out@*/ void * l,
    00042                 /*@out@*/ Header * sigs,
    00043                 CSA_t csa)
    00044         /*@globals rpmGlobalMacroContext, h_errno,
    00045                 fileSystem, internalState @*/
    00046         /*@modifies *specp, *lead, *sigs, csa, csa->cpioFdIn,
    00047                 rpmGlobalMacroContext, fileSystem, internalState @*/;
    00048 #endif
    00049
    00064 rpmRC writeRPM(Header * hdrp, /*@null@*/ unsigned char ** pkgidp,
    00065                 const char * fileName,
    00066                 CSA_t csa,
    00067                 /*@null@*/ char * passPhrase,
    00068                 /*@out@*/ const char ** cookie)
    00069         /*@globals rpmGlobalMacroContext, h_errno,
    00070                 fileSystem, internalState @*/
    00071         /*@modifies *hdrp, *pkgidp, *cookie, csa, csa->cpioArchiveSize,
    00072                 rpmGlobalMacroContext, fileSystem, internalState @*/;
    00073
    00074 #ifdef __cplusplus
    00075 }
    00076 #endif
    00077
    00078 #endif  /* _H_BUILDIO_ */