diff options
author | Kim Kibum <kb0929.kim@samsung.com> | 2012-05-21 17:49:08 +0900 |
---|---|---|
committer | Kim Kibum <kb0929.kim@samsung.com> | 2012-05-21 17:49:08 +0900 |
commit | dec48cfa66e17ba4a7e50c92cb24b913289feb12 (patch) | |
tree | e1f48cd5cabb40a1d604b36949ff072d01267cb5 /python/rpmfd-py.h | |
parent | b7a3bffb8e0341b7e4ef69def268bca3a7f279ff (diff) | |
download | rpm-dec48cfa66e17ba4a7e50c92cb24b913289feb12.tar.gz rpm-dec48cfa66e17ba4a7e50c92cb24b913289feb12.tar.bz2 rpm-dec48cfa66e17ba4a7e50c92cb24b913289feb12.zip |
Upload Tizen:Base source
Diffstat (limited to 'python/rpmfd-py.h')
-rw-r--r-- | python/rpmfd-py.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/python/rpmfd-py.h b/python/rpmfd-py.h new file mode 100644 index 0000000..b84e174 --- /dev/null +++ b/python/rpmfd-py.h @@ -0,0 +1,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 |