10 #include <rpm/rpmtypes.h> 67 const char * pkgNEVR,
fnpyKey key,
69 const char * str, uint64_t number);
enum rpmProblemType_e rpmProblemType
Enumerate transaction set problem types.
rpmProblem rpmProblemCreate(rpmProblemType type, const char *pkgNEVR, fnpyKey key, const char *altNEVR, const char *str, uint64_t number)
Create a problem item.
rpmFlags rpmprobFilterFlags
const char * rpmProblemGetStr(rpmProblem prob)
Return a generic data string from a problem.
rpmProblem rpmProblemFree(rpmProblem prob)
Destroy a problem item.
const char * rpmProblemGetPkgNEVR(rpmProblem prob)
Return package NEVR.
rpmProblemType_e
Enumerate transaction set problem types.
rpmProblemType rpmProblemGetType(rpmProblem prob)
Return type of problem (dependency, diskpace etc)
struct rpmProblem_s * rpmProblem
rpm_loff_t rpmProblemGetDiskNeed(rpmProblem prob)
Return disk requirement (needed disk space / number of inodes) depending on problem type.
rpmProblem rpmProblemLink(rpmProblem prob)
Reference an rpmProblem instance.
int rpmProblemCompare(rpmProblem ap, rpmProblem bp)
Compare two problems for equality.
char * rpmProblemString(rpmProblem prob)
Return formatted string representation of a problem.
const char * rpmProblemGetAltNEVR(rpmProblem prob)
Return related (e.g.
fnpyKey rpmProblemGetKey(rpmProblem prob)
Return filename or python object address of a problem.