1 #ifndef H_RPMFI_PY 2 #define H_RPMFI_PY 3 4 #include <rpm/rpmfi.h> 5 6 typedef struct rpmfiObject_s rpmfiObject; 7 8 extern PyTypeObject rpmfi_Type; 9 10 #define rpmfiObject_Check(v) ((v)->ob_type == &rpmfi_Type) 11 12 rpmfi fiFromFi(rpmfiObject * fi); 13 14 PyObject * rpmfi_Wrap(PyTypeObject *subtype, rpmfi fi); 15 16 #endif 17