From 8bd15f69297702d22bd4dc958f2a0eb221b8e6f9 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 23 Feb 2005 15:57:52 +0000 Subject: * progress callback support added --- python/apt_pkgmodule.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'python/apt_pkgmodule.cc') 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); + + } /*}}}*/ -- cgit v1.2.3