rpm  6.0.91
The RPM Package Manager
rpmprob.h
Go to the documentation of this file.
1 #ifndef _RPMPROB_H
2 #define _RPMPROB_H
3 
9 #include <stdio.h>
10 #include <rpm/rpmtypes.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 typedef struct rpmProblem_s * rpmProblem;
17 
22  RPMPROB_FILTER_NONE = 0,
32  RPMPROB_FILTER_VERIFY = (1 << 9),
33 };
34 
35 typedef rpmFlags rpmprobFilterFlags;
36 
40 typedef enum rpmProblemType_e {
55 
66 rpmProblem rpmProblemCreate(rpmProblemType type,
67  const char * pkgNEVR, fnpyKey key,
68  const char * altNEVR,
69  const char * str, uint64_t number);
70 
76 rpmProblem rpmProblemFree(rpmProblem prob);
77 
83 rpmProblem rpmProblemLink(rpmProblem prob);
84 
91 int rpmProblemCompare(rpmProblem ap, rpmProblem bp);
92 
99 const char * rpmProblemGetPkgNEVR(rpmProblem prob);
105 const char * rpmProblemGetAltNEVR(rpmProblem prob);
106 
113 rpmProblemType rpmProblemGetType(rpmProblem prob);
114 
120 fnpyKey rpmProblemGetKey(rpmProblem prob);
121 
128 const char * rpmProblemGetStr(rpmProblem prob);
129 
137 rpm_loff_t rpmProblemGetDiskNeed(rpmProblem prob);
138 
144 char * rpmProblemString(rpmProblem prob);
145 
146 #ifdef __cplusplus
147 }
148 #endif
149 
150 #endif /* _RPMPROB_H */
Definition: rpmprob.h:52
Definition: rpmprob.h:41
enum rpmProblemType_e rpmProblemType
Definition: rpmprob.h:47
Definition: rpmprob.h:31
Definition: rpmprob.h:51
Definition: rpmprob.h:32
Definition: rpmprob.h:25
Definition: rpmprob.h:42
rpmProblem rpmProblemCreate(rpmProblemType type, const char *pkgNEVR, fnpyKey key, const char *altNEVR, const char *str, uint64_t number)
Definition: rpmprob.h:27
const char * rpmProblemGetStr(rpmProblem prob)
Definition: rpmprob.h:50
rpmprobFilterFlags_e
Definition: rpmprob.h:21
Definition: rpmprob.h:30
Definition: rpmprob.h:44
rpmProblem rpmProblemFree(rpmProblem prob)
const char * rpmProblemGetPkgNEVR(rpmProblem prob)
rpmProblemType_e
Definition: rpmprob.h:40
rpmProblemType rpmProblemGetType(rpmProblem prob)
Definition: rpmprob.h:29
rpm_loff_t rpmProblemGetDiskNeed(rpmProblem prob)
Definition: rpmprob.h:49
rpmProblem rpmProblemLink(rpmProblem prob)
int rpmProblemCompare(rpmProblem ap, rpmProblem bp)
Definition: rpmprob.h:28
Definition: rpmprob.h:23
char * rpmProblemString(rpmProblem prob)
Definition: rpmprob.h:43
Definition: rpmprob.h:48
Definition: rpmprob.h:53
Definition: rpmprob.h:26
const char * rpmProblemGetAltNEVR(rpmProblem prob)
fnpyKey rpmProblemGetKey(rpmProblem prob)
Definition: rpmprob.h:46
Definition: rpmprob.h:45
Definition: rpmprob.h:24