summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.h
diff options
context:
space:
mode:
Diffstat (limited to 'python/apt_pkgmodule.h')
-rw-r--r--python/apt_pkgmodule.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/apt_pkgmodule.h b/python/apt_pkgmodule.h
index f7ef63c2..043e29cc 100644
--- a/python/apt_pkgmodule.h
+++ b/python/apt_pkgmodule.h
@@ -11,6 +11,7 @@
#define APT_PKGMODULE_H
#include <Python.h>
+#include <apt-pkg/hashes.h>
// Configuration Stuff
#define Configuration_Check(op) ((op)->ob_type == &ConfigurationType || \
@@ -106,5 +107,11 @@ extern PyTypeObject PackageIndexFileType;
// metaIndex
extern PyTypeObject MetaIndexType;
+// HashString
+PyObject *PyHashString_FromCpp(HashString *obj);
+extern PyTypeObject PyHashString_Type;
+
+// IndexRecord
+extern PyTypeObject PyIndexRecords_Type;
#endif