Move rpmprobFilterFlag enums to rpmps where they logically belong
authorPanu Matilainen <pmatilai@redhat.com>
Sun, 2 Dec 2007 21:02:33 +0000 (23:02 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Sun, 2 Dec 2007 21:02:33 +0000 (23:02 +0200)
lib/rpmlib.h
lib/rpmps.h

index a090ef7..1cafe68 100644 (file)
@@ -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.
  */
index 84bed9e..7274877 100644 (file)
@@ -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.
  */