From 7e798dd739883c1f47216578ba8df34dced24777 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:51:03 +0000 Subject: Sync Author: jgg Date: 1998-10-08 04:54:58 GMT Sync --- apt-pkg/deb/debrecords.h | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'apt-pkg/deb/debrecords.h') diff --git a/apt-pkg/deb/debrecords.h b/apt-pkg/deb/debrecords.h index 0bd8da921..6255d79ed 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.2 1998/10/08 04:55:04 jgg Exp $ /* ###################################################################### Debian Package Records - Parser for debian package records @@ -26,10 +26,23 @@ class debRecordParser : public pkgRecords::Parser { pkgTagFile Tags; pkgTagSection Section; + + string FindTag(const char *Tag); + + protected: + + virtual bool Jump(pkgCache::VerFileIterator &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); }; -- cgit v1.2.3