summaryrefslogtreecommitdiff
path: root/python/rpmps-py.h
blob: 86844f622b71fcdfc2a9e1973491a9e3c47edc8b (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
#ifndef H_RPMPS_PY
#define H_RPMPS_PY

#include <rpm/rpmps.h>

/** \ingroup py_c
 * \file python/rpmps-py.h
 */

/**
 */
typedef struct rpmpsObject_s {
    PyObject_HEAD
    PyObject *md_dict;		/*!< to look like PyModuleObject */
    rpmps	ps;
    rpmpsi	psi;
} rpmpsObject;

/**
 */
extern PyTypeObject rpmps_Type;

/**
 */
rpmps psFromPs(rpmpsObject * ps);

/**
 */
rpmpsObject * rpmps_Wrap(rpmps ps);

#endif