Go to the documentation of this file.00001 #ifndef H_RPMMG
00002 #define H_RPMMG
00003
00011
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
00025 void * ms;
00026 };
00027 #endif
00028
00029 #ifdef __cplusplus
00030 extern "C" {
00031 #endif
00032
00038 rpmmg rpmmgFree( rpmmg mg)
00039
00040 ;
00041
00048
00049 rpmmg rpmmgNew(const char * fn, int flags)
00050
00051 ;
00052
00059
00060 const char * rpmmgFile(rpmmg mg, const char *fn)
00061
00062 ;
00063
00071
00072 const char * rpmmgBuffer(rpmmg mg, const char * b, size_t nb)
00073
00074 ;
00075
00076 #ifdef __cplusplus
00077 }
00078 #endif
00079
00080 #endif