1 #ifndef H_RPMTS_PY 2 #define H_RPMTS_PY 3 4 #include <rpm/rpmts.h> 5 6 typedef struct rpmtsObject_s rpmtsObject; 7 8 extern PyTypeObject rpmts_Type; 9 10 #define rpmtsObject_Check(v) ((v)->ob_type == &rpmts_Type) 11 12 int rpmtsFromPyObject(PyObject *item, rpmts *ts); 13 14 /* XXX These names/constants have been removed from the rpmlib API. */ 15 enum { 16 RPMDEP_SENSE_REQUIRES, /*!< requirement not satisfied. */ 17 RPMDEP_SENSE_CONFLICTS /*!< conflict was found. */ 18 }; 19 20 #endif 21