return true;
}
/*}}}*/
-// SrcRecords::Next - Step to the next Source Record /*{{{*/
+// SrcRecords::Step - Step to the next Source Record /*{{{*/
// ---------------------------------------------------------------------
/* Step to the next source package record */
-const pkgSrcRecords::Parser* pkgSrcRecords::Next()
+const pkgSrcRecords::Parser* pkgSrcRecords::Step()
{
if (Current == Files.end())
return 0;
{
while (true)
{
- if(Next() == 0)
+ if(Step() == 0)
return 0;
// IO error somehow
// Step to the next SourcePackage and return pointer to the
// next SourceRecord. The pointer is owned by libapt.
- const Parser* Next();
+ const Parser* Step();
// Locate a package by name and return pointer to the Parser.
// The pointer is owned by libapt.
* Add compat mode for old (32bit FileSize) CacheDB (LP: #1274466)
* cmdline/apt-helper.cc: use less generic description/short-description
in apt-helper download
- * add pkgSrcRecords::Next() to step through all the pkgSrcRecords
+ * add pkgSrcRecords::Step() to step through all the pkgSrcRecords
(thanks to Helmut Grohne)
[ David Kalnischkies ]