summaryrefslogtreecommitdiff
path: root/lib/rpmps.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-10-19 12:30:26 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-10-19 12:30:26 +0300
commit63f94fb4a8c3ac52941b60cdde1332fb3db67716 (patch)
tree7e35c92feea01a3963b49fa6a2e5ee57f079fbad /lib/rpmps.c
parent1e74fccef78dd4f5ad80d853646af678d7f6390b (diff)
downloadrpm-63f94fb4a8c3ac52941b60cdde1332fb3db67716.tar.gz
Eliminate rpmps and rpmProblem structure details from the API
Diffstat (limited to 'lib/rpmps.c')
-rw-r--r--lib/rpmps.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/rpmps.c b/lib/rpmps.c
index fce8b9d55..be72c88a2 100644
--- a/lib/rpmps.c
+++ b/lib/rpmps.c
@@ -11,6 +11,32 @@
#include "misc.h"
#include "debug.h"
+/**
+ */
+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;
+};
+
int _rpmps_debug = 0;