diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2005-02-23 15:57:52 +0000 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2005-02-23 15:57:52 +0000 |
| commit | 8bd15f69297702d22bd4dc958f2a0eb221b8e6f9 (patch) | |
| tree | 627f92699eec4a7dcb74089f43ac07aaf3c198de /python/apt_pkgmodule.cc | |
| parent | c17e7730c128ea465d0e9581a2f87a4e0c4869d3 (diff) | |
| download | python-apt-8bd15f69297702d22bd4dc958f2a0eb221b8e6f9.tar.gz | |
* progress callback support added
Diffstat (limited to 'python/apt_pkgmodule.cc')
| -rw-r--r-- | python/apt_pkgmodule.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/apt_pkgmodule.cc b/python/apt_pkgmodule.cc index d9d0911f..95201f35 100644 --- a/python/apt_pkgmodule.cc +++ b/python/apt_pkgmodule.cc @@ -331,6 +331,7 @@ static PyMethodDef methods[] = // Cache {"GetCache",TmpGetCache,METH_VARARGS,"GetCache() -> PkgCache"}, + {"GetDepCache",GetDepCache,METH_VARARGS,"GetDepCache(Cache) -> DepCache"}, {"GetPkgRecords",GetPkgRecords,METH_VARARGS,"GetPkgRecords(Cache) -> PkgRecords"}, {"GetPkgSrcRecords",GetPkgSrcRecords,METH_VARARGS,"GetPkgSrcRecords() -> PkgSrcRecords"}, {"GetPkgSourceList",GetPkgSourceList,METH_VARARGS,"GetPkgSourceList() -> PkgSourceList"}, @@ -394,6 +395,8 @@ extern "C" void initapt_pkg() AddInt(Dict,"PriStandard",pkgCache::State::Standard); AddInt(Dict,"PriOptional",pkgCache::State::Optional); AddInt(Dict,"PriExtra",pkgCache::State::Extra); + + } /*}}}*/ |
