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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/apt_pkgmodule.h b/python/apt_pkgmodule.h
index 04bce2cc..3edba5d2 100644
--- a/python/apt_pkgmodule.h
+++ b/python/apt_pkgmodule.h
@@ -12,6 +12,7 @@
#include <Python.h>
#include <apt-pkg/hashes.h>
+#include <apt-pkg/acquire-item.h>
// Configuration Stuff
#define Configuration_Check(op) ((op)->ob_type == &PyConfiguration_Type)
@@ -49,6 +50,10 @@ PyObject *StrTimeRFC1123(PyObject *self,PyObject *Args);
PyObject *StrStrToTime(PyObject *self,PyObject *Args);
PyObject *StrCheckDomainList(PyObject *Self,PyObject *Args);
+PyObject *PyAcquire_GetItem(PyObject *self, pkgAcquire::Item *item);
+PyObject *PyAcquire_GetItemDesc(PyObject *self, pkgAcquire::ItemDesc *item);
+bool PyAcquire_DropItem(PyObject *self, pkgAcquire::Item *item);
+
// Cache Stuff
extern PyTypeObject PyCache_Type;
extern PyTypeObject PyCacheFile_Type;