summaryrefslogtreecommitdiff
path: root/python/rpmds-py.h
blob: 88a2b34d42bcaeefc1696946eecc0f6123a78e09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef H_RPMDS_PY
#define H_RPMDS_PY

/** \ingroup python
 * \file python/rpmds-py.h
 */

typedef struct rpmdsObject_s {
    PyObject_HEAD
    rpmds	ds;
} rpmdsObject;

extern PyTypeObject rpmds_Type;

rpmds dsFromDs(rpmdsObject * ds);

rpmdsObject * rpmds_Wrap(rpmds ds);

rpmdsObject * rpmds_Single(PyObject * s, PyObject * args);

rpmdsObject * hdr_dsFromHeader(PyObject * s, PyObject * args);

rpmdsObject * hdr_dsOfHeader(PyObject * s, PyObject * args);

#endif