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

#include <rpm/rpmfi.h>

typedef struct rpmfiObject_s rpmfiObject;

extern PyTypeObject rpmfi_Type;

#define rpmfiObject_Check(v)	((v)->ob_type == &rpmfi_Type)

rpmfi fiFromFi(rpmfiObject * fi);

PyObject * rpmfi_Wrap(PyTypeObject *subtype, rpmfi fi);

#endif