rpm 5.2.1

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

- File List
- Globals

pkgio.h
Go to the documentation of this file.
1 #ifndef _H_PKGIO
2 #define _H_PKGIO
3
9 #include <rpmpgp.h> /* XXX pgpDig typedef */
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14
28 rpmRC headerCheck(pgpDig dig, const void * uh, size_t uc,
29 /*@out@*/ /*@null@*/ const char ** msg)
30 /*@globals fileSystem, internalState @*/
31 /*@modifies dig, *msg, fileSystem, internalState @*/;
32
42 rpmRC rpmReadPackageFile(rpmts ts, FD_t fd,
43 const char * fn, /*@null@*/ /*@out@*/ Header * hdrp)
44 /*@globals fileSystem, internalState @*/
45 /*@modifies ts, fd, *hdrp, fileSystem, internalState @*/;
46
53 size_t rpmpkgSizeof(const char * fn, /*@null@*/ const void * ptr)
54 /*@*/;
55
64 rpmRC rpmpkgWrite(const char * fn, FD_t fd, void * ptr, const char ** msg)
65 /*@globals fileSystem, internalState @*/
66 /*@modifies fd, ptr, *msg, fileSystem, internalState @*/;
67
76 rpmRC rpmpkgRead(const char * fn, FD_t fd, /*@null@*/ /*@out@*/ void * ptr,
77 const char ** msg)
78 /*@globals fileSystem, internalState @*/
79 /*@modifies fd, *ptr, *msg, fileSystem, internalState @*/;
80
89 rpmRC rpmpkgCheck(const char * fn, FD_t fd, const void * ptr, const char ** msg)
90 /*@globals fileSystem, internalState @*/
91 /*@modifies ptr, *msg, fileSystem, internalState @*/;
92
93 #ifdef __cplusplus
94 }
95 #endif
96
97 #endif /* _H_PKGIO */