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 | |
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')
-rw-r--r-- | lib/rpmps.c | 26 | ||||
-rw-r--r-- | lib/rpmps.h | 26 |
2 files changed, 26 insertions, 26 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; diff --git a/lib/rpmps.h b/lib/rpmps.h index 350daa3c7..04464a861 100644 --- a/lib/rpmps.h +++ b/lib/rpmps.h @@ -44,32 +44,6 @@ typedef enum rpmProblemType_e { } 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 package NEVR * @param prob rpm problem * @return package NEVR |