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