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

# rpmio/rpmmg.h

Go to the documentation of this file.

    00001 #ifndef H_RPMMG
    00002 #define H_RPMMG
    00003
    00011 /*@unchecked@*/
    00012 extern int _rpmmg_debug;
    00013
    00016 typedef struct rpmmg_s * rpmmg;
    00017
    00018 #if defined(_RPMMG_INTERNAL)
    00019
    00021 struct rpmmg_s {
    00022     const char * fn;
    00023     int flags;
    00024 /*@relnull@*/
    00025     void * ms;
    00026 };
    00027 #endif  /* _RPMMG_INTERNAL */
    00028
    00029 #ifdef __cplusplus
    00030 extern "C" {
    00031 #endif
    00032
    00038 rpmmg rpmmgFree(/*@only@*/ /*@null@*/rpmmg mg)
    00039         /*@globals fileSystem @*/
    00040         /*@modifies mg, fileSystem @*/;
    00041
    00048 /*@only@*/ /*@null@*/
    00049 rpmmg rpmmgNew(const char * fn, int flags)
    00050         /*@globals fileSystem, internalState @*/
    00051         /*@modifies fileSystem, internalState @*/;
    00052
    00059 /*@only@*/
    00060 const char * rpmmgFile(rpmmg mg, const char *fn)
    00061         /*@globals fileSystem, internalState @*/
    00062         /*@modifies mg, fileSystem, internalState @*/;
    00063
    00071 /*@only@*/
    00072 const char * rpmmgBuffer(rpmmg mg, const char * b, size_t nb)
    00073         /*@globals fileSystem, internalState @*/
    00074         /*@modifies mg, fileSystem, internalState @*/;
    00075
    00076 #ifdef __cplusplus
    00077 }
    00078 #endif
    00079
    00080 #endif  /* H_RPMMG */