X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/f55ece0eae40e44dca027528a6f11091279d72b3..f44344b3075e2a93e3c17a09e7774e8391b42206:/apt-pkg/deb/debrecords.h diff --git a/apt-pkg/deb/debrecords.h b/apt-pkg/deb/debrecords.h index 0bd8da921..0c204492a 100644 --- a/apt-pkg/deb/debrecords.h +++ b/apt-pkg/deb/debrecords.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: debrecords.h,v 1.1 1998/08/09 00:51:36 jgg Exp $ +// $Id: debrecords.h,v 1.4 1999/02/22 03:30:06 jgg Exp $ /* ###################################################################### Debian Package Records - Parser for debian package records @@ -26,12 +26,25 @@ class debRecordParser : public pkgRecords::Parser { pkgTagFile Tags; pkgTagSection Section; + + string FindTag(const char *Tag); + + protected: + + virtual bool Jump(pkgCache::VerFileIterator const &Ver); public: + + // These refer to the archive file for the Version + virtual string FileName(); + virtual string MD5Hash(); - virtual bool Jump(pkgCache::VerFileIterator &Ver); + // These are some general stats about the package + virtual string Maintainer(); + virtual string ShortDesc(); + virtual string LongDesc(); - debRecordParser(FileFd &File); + debRecordParser(FileFd &File,pkgCache &Cache); };