optflags: set _FORTIFY_SOURCE for preproc
[platform/upstream/rpm.git] / python / rpmts-py.h
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 /* XXX These names/constants have been removed from the rpmlib API. */
13 enum {
14    RPMDEP_SENSE_REQUIRES,               /*!< requirement not satisfied. */
15    RPMDEP_SENSE_CONFLICTS               /*!< conflict was found. */
16 };
17
18 #endif