rpm  4.11.1-rc1
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 
32 };
33 
35 
39 typedef enum rpmProblemType_e {
53 
64 rpmProblem rpmProblemCreate(rpmProblemType type,
65  const char * pkgNEVR, fnpyKey key,
66  const char * altNEVR,
67  const char * str, uint64_t number);
68 
74 rpmProblem rpmProblemFree(rpmProblem prob);
75 
81 rpmProblem rpmProblemLink(rpmProblem prob);
82 
89 int rpmProblemCompare(rpmProblem ap, rpmProblem bp);
90 
97 const char * rpmProblemGetPkgNEVR(rpmProblem prob);
103 const char * rpmProblemGetAltNEVR(rpmProblem prob);
104 
111 rpmProblemType rpmProblemGetType(rpmProblem prob);
112 
118 fnpyKey rpmProblemGetKey(rpmProblem prob);
119 
126 const char * rpmProblemGetStr(rpmProblem prob);
127 
135 rpm_loff_t rpmProblemGetDiskNeed(rpmProblem prob);
136 
142 char * rpmProblemString(rpmProblem prob);
143 
144 #ifdef __cplusplus
145 }
146 #endif
147 
148 #endif /* _RPMPROB_H */