summaryrefslogtreecommitdiff
path: root/python/rpmki-py.h
diff options
context:
space:
mode:
Diffstat (limited to 'python/rpmki-py.h')
-rw-r--r--python/rpmki-py.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/python/rpmki-py.h b/python/rpmki-py.h
new file mode 100644
index 000000000..5fc3543d8
--- /dev/null
+++ b/python/rpmki-py.h
@@ -0,0 +1,12 @@
+#ifndef H_RPMKI_PY
+#define H_RPMKI_PY
+
+typedef struct rpmkiObject_s rpmkiObject;
+
+extern PyTypeObject rpmki_Type;
+
+#define rpmkiObject_Check(v) ((v)->ob_type == &rpmki_Type)
+
+PyObject * rpmki_Wrap(PyTypeObject *subtype, rpmdbKeyIterator ki, PyObject *s);
+
+#endif