]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgrecords.cc
* Removed the more leftover #pragma interface/implementation
[apt.git] / apt-pkg / pkgrecords.cc
index dc43735a6f58628f24444f301ea42035ea1475cc..0aaa2096a16df72d0a0395e89b82c0bc2b0e0cee 100644 (file)
@@ -60,3 +60,12 @@ pkgRecords::Parser &pkgRecords::Lookup(pkgCache::VerFileIterator const &Ver)
    return *Files[Ver.File()->ID];
 }
                                                                        /*}}}*/
    return *Files[Ver.File()->ID];
 }
                                                                        /*}}}*/
+// Records::Lookup - Get a parser for the package description file     /*{{{*/
+// ---------------------------------------------------------------------
+/* */
+pkgRecords::Parser &pkgRecords::Lookup(pkgCache::DescFileIterator const &Desc)
+{
+   Files[Desc.File()->ID]->Jump(Desc);
+   return *Files[Desc.File()->ID];
+}
+                                                                       /*}}}*/