summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-06-08 17:47:46 +0200
committerJulian Andres Klode <jak@debian.org>2009-06-08 17:47:46 +0200
commit33293ab8c53a9b1427012c297f288972e11ea3bb (patch)
treeb5ae92908a8dd9fa2c9f5e1a25fbaf97d9974ae1 /python/apt_pkgmodule.h
parent1040f7f6ec9cf689d6530827348a63daad52b3ef (diff)
downloadpython-apt-33293ab8c53a9b1427012c297f288972e11ea3bb.tar.gz
Add apt_pkg.HashString and apt_pkg.IndexRecords (Closes: #456141)
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