rpm 5.3.7
|
00001 #ifndef H_RPMTS_PY 00002 #define H_RPMTS_PY 00003 00004 #include "rpmts.h" 00005 00012 00015 typedef struct rpmtsObject_s { 00016 PyObject_HEAD 00017 PyObject *md_dict; 00018 rpmts ts; 00019 PyObject * keyList; /* keeps reference counts correct */ 00020 FD_t scriptFd; 00021 /*@relnull@*/ 00022 rpmtsi tsi; 00023 rpmElementType tsiFilter; 00024 rpmprobFilterFlags ignoreSet; 00025 } rpmtsObject; 00026 00029 /*@unchecked@*/ 00030 extern PyTypeObject rpmts_Type; 00031 00032 /* XXX These names/constants have been removed from the rpmlib API. */ 00033 enum { 00034 RPMDEP_SENSE_REQUIRES, 00035 RPMDEP_SENSE_CONFLICTS 00036 }; 00037 00038 #ifdef __cplusplus 00039 extern "C" { 00040 #endif 00041 00044 PyObject * rpmts_Create(PyObject * s, PyObject * args, PyObject * kwds) 00045 /*@globals rpmGlobalMacroContext @*/ 00046 /*@modifies rpmGlobalMacroContext @*/; 00047 00048 #ifdef __cplusplus 00049 } 00050 #endif 00051 00054 #endif