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

# rpmdb/pkgio.h

Go to the documentation of this file.

    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
    00039 size_t rpmpkgSizeof(const char * fn, /*@null@*/ const void * ptr)
    00040         /*@*/;
    00041
    00050 rpmRC rpmpkgWrite(const char * fn, FD_t fd, void * ptr, const char ** msg)
    00051         /*@globals fileSystem @*/
    00052         /*@modifies fd, ptr, *msg, fileSystem @*/;
    00053
    00062 rpmRC rpmpkgRead(const char * fn, FD_t fd, /*@null@*/ /*@out@*/ void * ptr,
    00063                 const char ** msg)
    00064         /*@globals fileSystem @*/
    00065         /*@modifies fd, *ptr, *msg, fileSystem @*/;
    00066
    00075 rpmRC rpmpkgCheck(const char * fn, FD_t fd, const void * ptr, const char ** msg)
    00076         /*@globals fileSystem @*/
    00077         /*@modifies ptr, *msg, fileSystem @*/;
    00078
    00079 #ifdef __cplusplus
    00080 }
    00081 #endif
    00082
    00083 #endif  /* _H_PKGIO */