rpm 5.2.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

rpmts-py.h
Go to the documentation of this file.
1 #ifndef H_RPMTS_PY
2 #define H_RPMTS_PY
3
4 #include "rpmts.h"
5
12
15 typedef struct rpmtsObject_s {
16 PyObject_HEAD
17 PyObject *md_dict;
18 rpmts ts;
19 PyObject * keyList; /* keeps reference counts correct */
20 FD_t scriptFd;
21 /*@relnull@*/
22 rpmtsi tsi;
23 rpmElementType tsiFilter;
24 rpmprobFilterFlags ignoreSet;
25 } rpmtsObject;
26
29 /*@unchecked@*/
30 extern PyTypeObject rpmts_Type;
31
32 /* XXX These names/constants have been removed from the rpmlib API. */
33 enum {
34 RPMDEP_SENSE_REQUIRES,
35 RPMDEP_SENSE_CONFLICTS
36 };
37
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41
44 PyObject * rpmts_Create(PyObject * s, PyObject * args, PyObject * kwds)
45 /*@globals rpmGlobalMacroContext @*/
46 /*@modifies rpmGlobalMacroContext @*/;
47
48 #ifdef __cplusplus
49 }
50 #endif
51
54 #endif