rpm 5.2.1
|
00001 #ifndef _H_PKGIO 00002 #define _H_PKGIO 00003 00009 #include <rpmpgp.h> /* XXX pgpDig typedef */ 00010 00011 #ifdef __cplusplus 00012 extern "C" { 00013 #endif 00014 00028 rpmRC headerCheck(pgpDig dig, const void * uh, size_t uc, 00029 /*@out@*/ /*@null@*/ const char ** msg) 00030 /*@globals fileSystem, internalState @*/ 00031 /*@modifies dig, *msg, fileSystem, internalState @*/; 00032 00042 rpmRC rpmReadPackageFile(rpmts ts, FD_t fd, 00043 const char * fn, /*@null@*/ /*@out@*/ Header * hdrp) 00044 /*@globals fileSystem, internalState @*/ 00045 /*@modifies ts, fd, *hdrp, fileSystem, internalState @*/; 00046 00053 size_t rpmpkgSizeof(const char * fn, /*@null@*/ const void * ptr) 00054 /*@*/; 00055 00064 rpmRC rpmpkgWrite(const char * fn, FD_t fd, void * ptr, const char ** msg) 00065 /*@globals fileSystem, internalState @*/ 00066 /*@modifies fd, ptr, *msg, fileSystem, internalState @*/; 00067 00076 rpmRC rpmpkgRead(const char * fn, FD_t fd, /*@null@*/ /*@out@*/ void * ptr, 00077 const char ** msg) 00078 /*@globals fileSystem, internalState @*/ 00079 /*@modifies fd, *ptr, *msg, fileSystem, internalState @*/; 00080 00089 rpmRC rpmpkgCheck(const char * fn, FD_t fd, const void * ptr, const char ** msg) 00090 /*@globals fileSystem, internalState @*/ 00091 /*@modifies ptr, *msg, fileSystem, internalState @*/; 00092 00093 #ifdef __cplusplus 00094 } 00095 #endif 00096 00097 #endif /* _H_PKGIO */