diff options
Diffstat (limited to 'python/apt_instmodule.h')
| -rw-r--r-- | python/apt_instmodule.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/python/apt_instmodule.h b/python/apt_instmodule.h index 45ba5f85..f6b337f4 100644 --- a/python/apt_instmodule.h +++ b/python/apt_instmodule.h @@ -11,10 +11,25 @@ #define APT_INSTMODULE_H #include <Python.h> +#include "generic.h" +#include <apt-pkg/extracttar.h> +#ifdef COMPAT_0_7 PyObject *debExtract(PyObject *Self,PyObject *Args); extern char *doc_debExtract; PyObject *tarExtract(PyObject *Self,PyObject *Args); extern char *doc_tarExtract; +#endif + +extern PyTypeObject PyArMember_Type; +extern PyTypeObject PyArArchive_Type; +extern PyTypeObject PyDebFile_Type; +extern PyTypeObject PyTarFile_Type; +extern PyTypeObject PyTarMember_Type; + +struct PyTarFileObject : public CppPyObject<ExtractTar*> { + int min; + FileFd Fd; +}; #endif |
