summaryrefslogtreecommitdiff
path: root/python/rpmfi-py.h
diff options
context:
space:
mode:
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