summaryrefslogtreecommitdiff
path: root/python/rpmfd-py.h
blob: 0d016603f6ecb720c038ea7781fa65bd4837dadb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef H_RPMFD_PY
#define H_RPMFD_PY

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

typedef struct rpmfdObject_s {
    PyObject_HEAD
    PyObject *md_dict;		/*!< to look like PyModuleObject */
/*@relnull@*/
    FD_t	fd;
} rpmfdObject;

/*@unchecked@*/
extern PyTypeObject rpmfd_Type;

/*@null@*/
rpmfdObject * rpmfd_Wrap(FD_t fd)
	/*@*/;

#endif