pkgio.h
Go to the documentation of this file.
#ifndef _H_PKGIO
#define _H_PKGIO
#include <rpmpgp.h> /* XXX pgpDig typedef */
#ifdef __cplusplus
extern "C" {
#endif
rpmRC headerCheck(pgpDig dig, const void * uh, size_t uc,
/*@out@*/ /*@null@*/ const char ** msg)
/*@globals fileSystem, internalState @*/
/*@modifies dig, *msg, fileSystem, internalState @*/;
rpmRC rpmReadPackageFile(rpmts ts, FD_t fd,
const char * fn, /*@null@*/ /*@out@*/ Header * hdrp)
/*@globals fileSystem, internalState @*/
/*@modifies ts, fd, *hdrp, fileSystem, internalState @*/;
size_t rpmpkgSizeof(const char * fn, /*@null@*/ const void * ptr)
/*@*/;
rpmRC rpmpkgWrite(const char * fn, FD_t fd, void * ptr, const char ** msg)
/*@globals fileSystem, internalState @*/
/*@modifies fd, ptr, *msg, fileSystem, internalState @*/;
rpmRC rpmpkgRead(const char * fn, FD_t fd, /*@null@*/ /*@out@*/ void * ptr,
const char ** msg)
/*@globals fileSystem, internalState @*/
/*@modifies fd, *ptr, *msg, fileSystem, internalState @*/;
rpmRC rpmpkgCheck(const char * fn, FD_t fd, const void * ptr, const char ** msg)
/*@globals fileSystem, internalState @*/
/*@modifies ptr, *msg, fileSystem, internalState @*/;
#ifdef __cplusplus
}
#endif
#endif /* _H_PKGIO */