summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debrecords.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:03 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:03 +0000
commit7e798dd739883c1f47216578ba8df34dced24777 (patch)
treed756274fb10d7bb3a6b14306d46390139ce60da2 /apt-pkg/deb/debrecords.h
parent7e54a6d6f1d500a4e26dbe34952ff3af65d0b0b7 (diff)
Sync
Author: jgg Date: 1998-10-08 04:54:58 GMT Sync
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);
};