summaryrefslogtreecommitdiff
path: root/python/rpmps-py.h
blob: 4d7efc8927db0a4a48ad0205671614daa5681be5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef H_RPMPS_PY
#define H_RPMPS_PY

#include <rpm/rpmps.h>

typedef struct rpmProblemObject_s rpmProblemObject;

extern PyTypeObject rpmProblem_Type;

#define rpmProblemObject_Check(v)	((v)->ob_type == &rpmProblem_Type)

PyObject * rpmprob_Wrap(PyTypeObject *subtype, rpmProblem prob);

PyObject *rpmps_AsList(rpmps ps);

#endif