rpm 5.3.7
|
00001 #ifndef _H_PKGIO 00002 #define _H_PKGIO 00003 00009 #include <rpmio.h> /* XXX FD_t typedef */ 00010 #include <rpmpgp.h> /* XXX pgpDig typedef */ 00011 #include <rpmtag.h> /* XXX Header typedef */ 00012 00013 #ifdef __cplusplus 00014 extern "C" { 00015 #endif 00016 00030 rpmRC headerCheck(pgpDig dig, const void * uh, size_t uc, 00031 /*@out@*/ /*@null@*/ const char ** msg) 00032 /*@globals fileSystem, internalState @*/ 00033 /*@modifies dig, *msg, fileSystem, internalState @*/; 00034 00044 rpmRC rpmReadPackageFile(rpmts ts, FD_t fd, 00045 const char * fn, /*@null@*/ /*@out@*/ Header * hdrp) 00046 /*@globals fileSystem, internalState @*/ 00047 /*@modifies ts, fd, *hdrp, fileSystem, internalState @*/; 00048 00055 size_t rpmpkgSizeof(const char * fn, /*@null@*/ const void * ptr) 00056 /*@*/; 00057 00066 rpmRC rpmpkgWrite(const char * fn, FD_t fd, void * ptr, const char ** msg) 00067 /*@globals fileSystem, internalState @*/ 00068 /*@modifies fd, ptr, *msg, fileSystem, internalState @*/; 00069 00078 rpmRC rpmpkgRead(const char * fn, FD_t fd, /*@null@*/ /*@out@*/ void * ptr, 00079 const char ** msg) 00080 /*@globals fileSystem, internalState @*/ 00081 /*@modifies fd, *ptr, *msg, fileSystem, internalState @*/; 00082 00091 rpmRC rpmpkgCheck(const char * fn, FD_t fd, const void * ptr, const char ** msg) 00092 /*@globals fileSystem, internalState @*/ 00093 /*@modifies ptr, *msg, fileSystem, internalState @*/; 00094 00095 #ifdef __cplusplus 00096 } 00097 #endif 00098 00099 #endif /* _H_PKGIO */