summaryrefslogtreecommitdiff
path: root/python/rpmfi-py.h
blob: 84b95b9ca4498d536776956fb39be8bfc60641ed (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
#ifndef H_RPMFI_PY
#define H_RPMFI_PY

#include "rpmfi.h"

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

typedef struct rpmfiObject_s {
    PyObject_HEAD
    PyObject *md_dict;		/*!< to look like PyModuleObject */
    int active;
/*@null@*/
    rpmfi fi;
} rpmfiObject;

/*@unchecked@*/
extern PyTypeObject rpmfi_Type;

rpmfi fiFromFi(rpmfiObject * fi)
	/*@*/;

rpmfiObject * rpmfi_Wrap(rpmfi fi)
	/*@*/;

rpmfiObject * hdr_fiFromHeader(PyObject * s, PyObject * args)
	/*@*/;

#endif