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

#include <rpm/rpmio.h>

typedef struct rpmfdObject_s rpmfdObject;

extern PyTypeObject rpmfd_Type;

#define rpmfdObject_Check(v)	((v)->ob_type == &rpmfd_Type)

FD_t rpmfdGetFd(rpmfdObject *fdo);

int rpmfdFromPyObject(PyObject *obj, rpmfdObject **fdop);


#endif