summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-11-24 10:00:36 +0000
committerArch Librarian <arch@canonical.com>2004-11-24 10:00:36 +0000
commite5d16b671f2a625893731b4ea0bd684bbd444323 (patch)
tree73f3a71281ad33ff97a624b3679ce9644031d1a2 /python/apt_pkgmodule.cc
parent626a19f14cf2728cab14f3c71cc8d689c7ebc169 (diff)
downloadpython-apt-e5d16b671f2a625893731b4ea0bd684bbd444323.tar.gz
Initial support for accessing source package data
Author: mdz Date: 2003-07-23 02:20:24 GMT Initial support for accessing source package data
Diffstat (limited to 'python/apt_pkgmodule.cc')
-rw-r--r--python/apt_pkgmodule.cc6
1 files changed, 4 insertions, 2 deletions
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"},
{}
};