diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:54:23 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:54:23 +0000 |
commit | ddc1d8d08eaff6c71c6062654ddd9d8981799ae9 (patch) | |
tree | 745d470d679bf169cab6da3f3322f40121e1f81c /apt-pkg/pkgcachegen.h | |
parent | 727f18afe9c2eec15ee446cb667d9561644b5bf6 (diff) |
Minor cleanups, fix for checksum lowercase bug
Author: jgg
Date: 1999-07-26 17:46:07 GMT
Minor cleanups, fix for checksum lowercase bug
Diffstat (limited to 'apt-pkg/pkgcachegen.h')
-rw-r--r-- | apt-pkg/pkgcachegen.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/apt-pkg/pkgcachegen.h b/apt-pkg/pkgcachegen.h index 2bdabcee0..f264b314d 100644 --- a/apt-pkg/pkgcachegen.h +++ b/apt-pkg/pkgcachegen.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: pkgcachegen.h,v 1.16 1999/07/15 03:15:48 jgg Exp $ +// $Id: pkgcachegen.h,v 1.17 1999/07/26 17:46:08 jgg Exp $ /* ###################################################################### Package Cache Generator - Generator for the cache structure. @@ -45,7 +45,7 @@ class pkgCacheGenerator DynamicMMap ⤅ pkgCache Cache; - OpProgress &Progress; + OpProgress *Progress; string PkgFileName; pkgCache::PackageFile *CurrentFile; @@ -59,8 +59,9 @@ class pkgCacheGenerator public: + void DropProgress() {Progress = 0;}; bool SelectFile(string File,unsigned long Flags = 0); - bool MergeList(ListParser &List); + bool MergeList(ListParser &List,pkgCache::VerIterator *Ver = 0); inline pkgCache &GetCache() {return Cache;}; inline pkgCache::PkgFileIterator GetCurFile() {return pkgCache::PkgFileIterator(Cache,CurrentFile);}; @@ -112,4 +113,8 @@ class pkgCacheGenerator::ListParser virtual ~ListParser() {}; }; +bool pkgMergeStatus(OpProgress &Progress,pkgCacheGenerator &Gen, + unsigned long &CurrentSize,unsigned long TotalSize); +bool pkgAddStatusSize(unsigned long &TotalSize); + #endif |