]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/deblistparser.h
Fixed up the example sources.list. Closes: #63676
[apt.git] / apt-pkg / deb / deblistparser.h
index 6888c1a5eba7ece96c777693f8132ab39a7e0c8b..6e2c5ef941c9fc00f269323dbda4b851034cba71 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: deblistparser.h,v 1.6 1998/12/14 02:23:47 jgg Exp $
+// $Id: deblistparser.h,v 1.8 1999/07/26 17:46:08 jgg Exp $
 /* ######################################################################
    
    Debian Package List Parser - This implements the abstract parser 
@@ -20,6 +20,7 @@ class debListParser : public pkgCacheGenerator::ListParser
    pkgTagFile Tags;
    pkgTagSection Section;
    unsigned long iOffset;
+   string Arch;
    
    // Parser Helper
    struct WordList
@@ -43,6 +44,7 @@ class debListParser : public pkgCacheGenerator::ListParser
    virtual string Package();
    virtual string Version();
    virtual bool NewVersion(pkgCache::VerIterator Ver);
+   virtual unsigned short VersionHash();
    virtual bool UsePackage(pkgCache::PkgIterator Pkg,
                           pkgCache::VerIterator Ver);
    virtual unsigned long Offset() {return iOffset;};