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

#include <rpm/rpmds.h>

typedef struct rpmdsObject_s rpmdsObject;

extern PyTypeObject rpmds_Type;

#define rpmdsObject_Check(v)	((v)->ob_type == &rpmds_Type)

rpmds dsFromDs(rpmdsObject * ds);

PyObject * rpmds_Wrap(PyTypeObject *subtype, rpmds ds);

#endif