00001 #ifndef H_RPMTS_PY 00002 #define H_RPMTS_PY 00003 00004 #include "rpmts.h" 00005 00010 typedef struct rpmtsObject_s { 00011 PyObject_HEAD 00012 PyObject *md_dict; 00013 rpmts ts; 00014 PyObject * keyList; /* keeps reference counts correct */ 00015 FD_t scriptFd; 00016 /*@relnull@*/ 00017 rpmtsi tsi; 00018 rpmElementType tsiFilter; 00019 rpmprobFilterFlags ignoreSet; 00020 } rpmtsObject; 00021 00022 /*@unchecked@*/ 00023 extern PyTypeObject rpmts_Type; 00024 00025 /* XXX These names/constants have been removed from the rpmlib API. */ 00026 enum { 00027 RPMDEP_SENSE_REQUIRES, 00028 RPMDEP_SENSE_CONFLICTS 00029 }; 00030 00031 rpmtsObject * rpmts_Create(PyObject * s, PyObject * args, PyObject * kwds) 00032 /*@globals rpmGlobalMacroContext @*/ 00033 /*@modifies rpmGlobalMacroContext @*/; 00034 00035 #endif