2004-10-12 08:13:22 +08:00
|
|
|
#ifndef H_RPMPS_PY
|
|
|
|
#define H_RPMPS_PY
|
|
|
|
|
2007-12-08 20:02:32 +08:00
|
|
|
#include <rpm/rpmps.h>
|
2004-10-12 08:13:22 +08:00
|
|
|
|
2009-09-22 21:47:07 +08:00
|
|
|
typedef struct rpmpsObject_s rpmpsObject;
|
2004-10-12 08:13:22 +08:00
|
|
|
|
|
|
|
extern PyTypeObject rpmps_Type;
|
|
|
|
|
2009-09-23 05:06:13 +08:00
|
|
|
#define rpmpsObject_Check(v) ((v)->ob_type == &rpmps_Type)
|
|
|
|
|
2007-09-12 15:34:31 +08:00
|
|
|
rpmps psFromPs(rpmpsObject * ps);
|
2004-10-13 14:26:16 +08:00
|
|
|
|
2009-09-24 16:42:17 +08:00
|
|
|
PyObject * rpmps_Wrap(PyTypeObject *subtype, rpmps ps);
|
2004-10-13 14:26:16 +08:00
|
|
|
|
2004-10-12 08:13:22 +08:00
|
|
|
#endif
|