Move rpmprobFilterFlag enums to rpmps where they logically belong
This commit is contained in:
parent
249113b17a
commit
7b98c02efb
16
lib/rpmlib.h
16
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.
|
||||
*/
|
||||
|
|
16
lib/rpmps.h
16
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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue