From e5d16b671f2a625893731b4ea0bd684bbd444323 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Wed, 24 Nov 2004 10:00:36 +0000 Subject: Initial support for accessing source package data Author: mdz Date: 2003-07-23 02:20:24 GMT Initial support for accessing source package data --- python/apt_pkgmodule.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'python/apt_pkgmodule.cc') diff --git a/python/apt_pkgmodule.cc b/python/apt_pkgmodule.cc index 6c2a61e1..d9d0911f 100644 --- a/python/apt_pkgmodule.cc +++ b/python/apt_pkgmodule.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: apt_pkgmodule.cc,v 1.4 2002/01/08 06:53:04 jgg Exp $ +// $Id: apt_pkgmodule.cc,v 1.5 2003/07/23 02:20:24 mdz Exp $ /* ###################################################################### apt_pkgmodule - Top level for the python module. Create the internal @@ -331,7 +331,9 @@ static PyMethodDef methods[] = // Cache {"GetCache",TmpGetCache,METH_VARARGS,"GetCache() -> PkgCache"}, - {"GetPkgRecords",GetPkgRecords,METH_VARARGS,"GetPkgRecords(Cache) -> PkgRecrods"}, + {"GetPkgRecords",GetPkgRecords,METH_VARARGS,"GetPkgRecords(Cache) -> PkgRecords"}, + {"GetPkgSrcRecords",GetPkgSrcRecords,METH_VARARGS,"GetPkgSrcRecords() -> PkgSrcRecords"}, + {"GetPkgSourceList",GetPkgSourceList,METH_VARARGS,"GetPkgSourceList() -> PkgSourceList"}, {} }; -- cgit v1.2.3