summaryrefslogtreecommitdiff
path: root/python/rpmps-py.h
blob: 01b8768cf954ece1fee976300762a611869f129e (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 "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