summaryrefslogtreecommitdiff
path: root/python/rpmfd-py.h
blob: 498a63cedbef27ff8d261a62b4594d9171e08940 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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 */
    FD_t	fd;
} rpmfdObject;

extern PyTypeObject rpmfd_Type;

rpmfdObject * rpmfd_Wrap(FD_t fd);

#endif