2002-05-23 08:49:19 +08:00
|
|
|
#ifndef H_RPMDS_PY
|
|
|
|
#define H_RPMDS_PY
|
|
|
|
|
2007-12-08 20:02:32 +08:00
|
|
|
#include <rpm/rpmds.h>
|
2002-05-29 07:06:44 +08:00
|
|
|
|
2009-09-22 21:47:07 +08:00
|
|
|
typedef struct rpmdsObject_s rpmdsObject;
|
2002-05-23 08:49:19 +08:00
|
|
|
|
|
|
|
extern PyTypeObject rpmds_Type;
|
|
|
|
|
2009-09-23 05:06:13 +08:00
|
|
|
#define rpmdsObject_Check(v) ((v)->ob_type == &rpmds_Type)
|
|
|
|
|
2007-09-12 15:34:31 +08:00
|
|
|
rpmds dsFromDs(rpmdsObject * ds);
|
2002-05-23 08:49:19 +08:00
|
|
|
|
2009-09-24 16:42:17 +08:00
|
|
|
PyObject * rpmds_Wrap(PyTypeObject *subtype, rpmds ds);
|
2002-05-23 08:49:19 +08:00
|
|
|
|
|
|
|
#endif
|