summaryrefslogtreecommitdiff
path: root/python/rpmts-py.h
blob: e4fabfe0a6d87dd947e67e48f64593c3954f44c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef H_RPMTS_PY
#define H_RPMTS_PY

#include <rpm/rpmts.h>

typedef struct rpmtsObject_s rpmtsObject;

extern PyTypeObject rpmts_Type;

#define rpmtsObject_Check(v)	((v)->ob_type == &rpmts_Type)

/* XXX These names/constants have been removed from the rpmlib API. */
enum {
   RPMDEP_SENSE_REQUIRES,		/*!< requirement not satisfied. */
   RPMDEP_SENSE_CONFLICTS		/*!< conflict was found. */
};

#endif