summaryrefslogtreecommitdiff
path: root/python/rpmfi-py.h
diff options
context:
space:
mode:
authorJinkun Jang <jinkun.jang@samsung.com>2013-03-12 15:17:20 +0900
committerJinkun Jang <jinkun.jang@samsung.com>2013-03-12 15:17:20 +0900
commit7df2385c2f6c93f96e00bc87f2086066cae89ecc (patch)
tree79d5c20a494622eb084de831a2a51530cd421e33 /python/rpmfi-py.h
parentb7a3bffb8e0341b7e4ef69def268bca3a7f279ff (diff)
downloadrpm-tizen_2.2.tar.gz
rpm-tizen_2.2.tar.bz2
rpm-tizen_2.2.zip
Diffstat (limited to 'python/rpmfi-py.h')
-rw-r--r--python/rpmfi-py.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/python/rpmfi-py.h b/python/rpmfi-py.h
new file mode 100644
index 0000000..604bf71
--- /dev/null
+++ b/python/rpmfi-py.h
@@ -0,0 +1,16 @@
+#ifndef H_RPMFI_PY
+#define H_RPMFI_PY
+
+#include <rpm/rpmfi.h>
+
+typedef struct rpmfiObject_s rpmfiObject;
+
+extern PyTypeObject rpmfi_Type;
+
+#define rpmfiObject_Check(v) ((v)->ob_type == &rpmfi_Type)
+
+rpmfi fiFromFi(rpmfiObject * fi);
+
+PyObject * rpmfi_Wrap(PyTypeObject *subtype, rpmfi fi);
+
+#endif