Go to the documentation of this file.
10 #include <rpm/rpmtypes.h>
67 const char * pkgNEVR,
fnpyKey key,
69 const char * str, uint64_t number);
const char * rpmProblemGetStr(rpmProblem prob)
Return a generic data string from a problem.
enum rpmProblemType_e rpmProblemType
Enumerate transaction set problem types.
@ RPMPROB_FILTER_FORCERELOCATE
@ RPMPROB_FILTER_DISKSPACE
@ RPMPROB_FILTER_IGNOREOS
@ RPMPROB_FILTER_REPLACEPKG
rpmProblem rpmProblemLink(rpmProblem prob)
Reference an rpmProblem instance.
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)
@ RPMPROB_FILTER_REPLACEOLDFILES
struct rpmProblem_s * rpmProblem
rpmProblem rpmProblemFree(rpmProblem prob)
Destroy a problem item.
rpmFlags rpmprobFilterFlags
@ RPMPROB_FILTER_OLDPACKAGE
@ RPMPROB_FILTER_REPLACENEWFILES
int rpmProblemCompare(rpmProblem ap, rpmProblem bp)
Compare two problems for equality.
const char * rpmProblemGetAltNEVR(rpmProblem prob)
Return related (e.g.
rpmProblem rpmProblemCreate(rpmProblemType type, const char *pkgNEVR, fnpyKey key, const char *altNEVR, const char *str, uint64_t number)
Create a problem item.
fnpyKey rpmProblemGetKey(rpmProblem prob)
Return filename or python object address of a problem.
@ RPMPROB_FILTER_IGNOREARCH
@ RPMPROB_FILTER_DISKNODES
char * rpmProblemString(rpmProblem prob)
Return formatted string representation of a problem.
@ RPMPROB_NEW_FILE_CONFLICT
rpm_loff_t rpmProblemGetDiskNeed(rpmProblem prob)
Return disk requirement (needed disk space / number of inodes) depending on problem type.