-/**
- * Enumerate transaction set problem types.
- */
-typedef enum rpmProblemType_e {
- RPMPROB_BADARCH, /*!< package ... is for a different architecture */
- RPMPROB_BADOS, /*!< package ... is for a different operating system */
- RPMPROB_PKG_INSTALLED, /*!< package ... is already installed */
- RPMPROB_BADRELOCATE,/*!< path ... is not relocatable for package ... */
- RPMPROB_REQUIRES, /*!< package ... has unsatisfied Requires: ... */
- RPMPROB_CONFLICT, /*!< package ... has unsatisfied Conflicts: ... */
- RPMPROB_NEW_FILE_CONFLICT, /*!< file ... conflicts between attemped installs of ... */
- RPMPROB_FILE_CONFLICT,/*!< file ... from install of ... conflicts with file from package ... */
- RPMPROB_OLDPACKAGE, /*!< package ... (which is newer than ...) is already installed */
- RPMPROB_DISKSPACE, /*!< installing package ... needs ... on the ... filesystem */
- RPMPROB_DISKNODES, /*!< installing package ... needs ... on the ... filesystem */
- } rpmProblemType;
-
-/**
- */
-struct rpmProblem_s {
- char * pkgNEVR;
- char * altNEVR;
- fnpyKey key;
- rpmProblemType type;
- int ignoreProblem;
- char * str1;
- unsigned long ulong1;
-};
-
-/**
- */
-struct rpmps_s {
- int numProblems; /*!< Current probs array size. */
- int numProblemsAlloced; /*!< Allocated probs array size. */
- rpmProblem probs; /*!< Array of specific problems. */
- int nrefs; /*!< Reference count. */
-};
-
-struct rpmpsi_s {
- size_t ix;
- rpmps ps;
-};
-
-/**
- * Return formatted string representation of a problem.
- * @param prob rpm problem
- * @return formatted string (malloc'd)
- */
-extern const char * rpmProblemString(const rpmProblem prob);
-
-/**
- * Unreference a problem set instance.
- * @param ps problem set
- * @param msg
- * @return problem set
- */
-rpmps rpmpsUnlink (rpmps ps,
- const char * msg);
-
-/** @todo Remove debugging entry from the ABI. */
-rpmps XrpmpsUnlink (rpmps ps,
- const char * msg, const char * fn, unsigned ln);
-#define rpmpsUnlink(_ps, _msg) XrpmpsUnlink(_ps, _msg, __FILE__, __LINE__)
-
-/**