From 63f94fb4a8c3ac52941b60cdde1332fb3db67716 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Fri, 19 Oct 2007 12:30:26 +0300 Subject: [PATCH] Eliminate rpmps and rpmProblem structure details from the API --- lib/rpmps.c | 26 ++++++++++++++++++++++++++ lib/rpmps.h | 26 -------------------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/lib/rpmps.c b/lib/rpmps.c index fce8b9d..be72c88 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 350daa3..04464a8 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 -- 2.7.4