summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-02 23:02:33 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-02 23:02:33 +0200
commit7b98c02efb519c6634ab27f0a774b01e99a7b40d (patch)
tree564186fcd92062b31d12594adda6acb0787cdc6e
parent249113b17a378e55532a1bd4b01c6954d56e59e1 (diff)
downloadrpm-7b98c02efb519c6634ab27f0a774b01e99a7b40d.tar.gz
rpm-7b98c02efb519c6634ab27f0a774b01e99a7b40d.tar.bz2
rpm-7b98c02efb519c6634ab27f0a774b01e99a7b40d.zip
Move rpmprobFilterFlag enums to rpmps where they logically belong
-rw-r--r--lib/rpmlib.h16
-rw-r--r--lib/rpmps.h16
2 files changed, 16 insertions, 16 deletions
diff --git a/lib/rpmlib.h b/lib/rpmlib.h
index a090ef721..1cafe68d8 100644
--- a/lib/rpmlib.h
+++ b/lib/rpmlib.h
@@ -527,22 +527,6 @@ typedef int (*HME_t) (Header h, rpmTag tag, rpmTagType type,
*/
typedef int (*HRE_t) (Header h, int32_t tag);
-/**
- * @todo Generalize filter mechanism.
- */
-typedef enum rpmprobFilterFlags_e {
- RPMPROB_FILTER_NONE = 0,
- RPMPROB_FILTER_IGNOREOS = (1 << 0), /*!< from --ignoreos */
- RPMPROB_FILTER_IGNOREARCH = (1 << 1), /*!< from --ignorearch */
- RPMPROB_FILTER_REPLACEPKG = (1 << 2), /*!< from --replacepkgs */
- RPMPROB_FILTER_FORCERELOCATE= (1 << 3), /*!< from --badreloc */
- RPMPROB_FILTER_REPLACENEWFILES= (1 << 4), /*!< from --replacefiles */
- RPMPROB_FILTER_REPLACEOLDFILES= (1 << 5), /*!< from --replacefiles */
- RPMPROB_FILTER_OLDPACKAGE = (1 << 6), /*!< from --oldpackage */
- RPMPROB_FILTER_DISKSPACE = (1 << 7), /*!< from --ignoresize */
- RPMPROB_FILTER_DISKNODES = (1 << 8) /*!< from --ignoresize */
-} rpmprobFilterFlags;
-
/**
* We pass these around as an array with a sentinel.
*/
diff --git a/lib/rpmps.h b/lib/rpmps.h
index 84bed9e9c..727487721 100644
--- a/lib/rpmps.h
+++ b/lib/rpmps.h
@@ -14,6 +14,22 @@ extern "C" {
extern int _rpmps_debug;
+/** \ingroup rpmps
+ * @todo Generalize filter mechanism.
+ */
+typedef enum rpmprobFilterFlags_e {
+ RPMPROB_FILTER_NONE = 0,
+ RPMPROB_FILTER_IGNOREOS = (1 << 0), /*!< from --ignoreos */
+ RPMPROB_FILTER_IGNOREARCH = (1 << 1), /*!< from --ignorearch */
+ RPMPROB_FILTER_REPLACEPKG = (1 << 2), /*!< from --replacepkgs */
+ RPMPROB_FILTER_FORCERELOCATE= (1 << 3), /*!< from --badreloc */
+ RPMPROB_FILTER_REPLACENEWFILES= (1 << 4), /*!< from --replacefiles */
+ RPMPROB_FILTER_REPLACEOLDFILES= (1 << 5), /*!< from --replacefiles */
+ RPMPROB_FILTER_OLDPACKAGE = (1 << 6), /*!< from --oldpackage */
+ RPMPROB_FILTER_DISKSPACE = (1 << 7), /*!< from --ignoresize */
+ RPMPROB_FILTER_DISKNODES = (1 << 8) /*!< from --ignoresize */
+} rpmprobFilterFlags;
+
/**
* Raw data for an element of a problem set.
*/