summaryrefslogtreecommitdiff
path: root/python/rpmds-py.h
blob: 83c892814b4229cd29159d2429caea4cb361e74b (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#ifndef H_RPMDS_PY
#define H_RPMDS_PY

#include "rpmds.h"

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

/**
 */
typedef struct rpmdsObject_s {
    PyObject_HEAD
    PyObject *md_dict;		/*!< to look like PyModuleObject */
    int		active;
/*@null@*/
    rpmds	ds;
} rpmdsObject;

/**
 */
/*@unchecked@*/
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