diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-10-19 12:30:26 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-10-19 12:30:26 +0300 |
commit | 63f94fb4a8c3ac52941b60cdde1332fb3db67716 (patch) | |
tree | 7e35c92feea01a3963b49fa6a2e5ee57f079fbad /lib/rpmps.c | |
parent | 1e74fccef78dd4f5ad80d853646af678d7f6390b (diff) | |
download | rpm-63f94fb4a8c3ac52941b60cdde1332fb3db67716.tar.gz rpm-63f94fb4a8c3ac52941b60cdde1332fb3db67716.tar.bz2 rpm-63f94fb4a8c3ac52941b60cdde1332fb3db67716.zip |
Eliminate rpmps and rpmProblem structure details from the API
Diffstat (limited to 'lib/rpmps.c')
-rw-r--r-- | lib/rpmps.c | 26 |
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; |