diff options
author | Michael Vogt <mvo@debian.org> | 2014-06-18 08:32:47 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-06-18 08:32:47 +0200 |
commit | aa0bd601ea3db281187275bbbece760d85ff29d9 (patch) | |
tree | c84bebb3966255cdae36562024592c6b4eb6a2f2 /apt-pkg/srcrecords.h | |
parent | 80624be7c54aec6ed98ee254366155024fca1a71 (diff) | |
parent | 6074bc9ba4ecdd08674a828bdb46323b5d8bf957 (diff) |
Merge branch 'debian/sid' into debian/experimental
Conflicts:
debian/changelog
Diffstat (limited to 'apt-pkg/srcrecords.h')
-rw-r--r-- | apt-pkg/srcrecords.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/apt-pkg/srcrecords.h b/apt-pkg/srcrecords.h index 69b3cfd99..c68d374bb 100644 --- a/apt-pkg/srcrecords.h +++ b/apt-pkg/srcrecords.h @@ -105,8 +105,13 @@ class pkgSrcRecords // Reset the search bool Restart(); - // Locate a package by name - Parser *Find(const char *Package,bool const &SrcOnly = false); + // Step to the next SourcePackage and return pointer to the + // next SourceRecord. The pointer is owned by libapt. + const Parser* Step(); + + // Locate a package by name and return pointer to the Parser. + // The pointer is owned by libapt. + Parser* Find(const char *Package,bool const &SrcOnly = false); pkgSrcRecords(pkgSourceList &List); virtual ~pkgSrcRecords(); |