summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debrecords.h
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/deb/debrecords.h')
-rw-r--r--apt-pkg/deb/debrecords.h17
1 files changed, 15 insertions, 2 deletions
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);
};