blob: 526b838171f32a1bdff9052bcc7e4b370f46a96d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef H_RPMTS_PY
#define H_RPMTS_PY
#include "rpmts.h"
/** \ingroup python
* \file python/rpmts-py.h
*/
typedef struct rpmtsObject_s {
PyObject_HEAD
rpmts ts;
PyObject * keyList; /* keeps reference counts correct */
FD_t scriptFd;
rpmtsi tsi;
rpmElementType tsiFilter;
rpmprobFilterFlags ignoreSet;
} rpmtsObject;
/*@unchecked@*/
extern PyTypeObject 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. */
};
rpmtsObject * rpmts_Create(PyObject * s, PyObject * args)
/*@globals rpmGlobalMacroContext @*/
/*@modifies rpmGlobalMacroContext @*/;
#endif
|