diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-07-22 18:16:28 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-07-22 18:16:28 +0200 |
| commit | 544f14e0f2fb70b5a1f30786a93023a42d88290d (patch) | |
| tree | 22a6cb60e5bc61e2c45f7cae37acd96a9419b4c3 /python/apt_pkgmodule.h | |
| parent | 6ba42d2e31f161fc0ebe5405cf63b616c3e822b4 (diff) | |
| download | python-apt-544f14e0f2fb70b5a1f30786a93023a42d88290d.tar.gz | |
python: 2nd part of the acquire fixes (one PyObject per C++ object).
Diffstat (limited to 'python/apt_pkgmodule.h')
| -rw-r--r-- | python/apt_pkgmodule.h | 5 |
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; |
