diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:57:20 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:57:20 +0000 |
commit | a7c835af20feeb470238ead3bda36af978c2600f (patch) | |
tree | fc85aa957eeba8b21c7a9c18bc8efb126c94d222 /apt-pkg/acquire-method.h | |
parent | 36803406d195dba90a418bb858ebf65033867aba (diff) |
Alfredo's vendor stuff
Author: jgg
Date: 2001-03-13 06:51:46 GMT
Alfredo's vendor stuff
Diffstat (limited to 'apt-pkg/acquire-method.h')
-rw-r--r-- | apt-pkg/acquire-method.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apt-pkg/acquire-method.h b/apt-pkg/acquire-method.h index b32d80c43..4721a3b65 100644 --- a/apt-pkg/acquire-method.h +++ b/apt-pkg/acquire-method.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: acquire-method.h,v 1.14 2001/02/20 07:03:17 jgg Exp $ +// $Id: acquire-method.h,v 1.15 2001/03/13 06:51:46 jgg Exp $ /* ###################################################################### Acquire Method - Method helper class + functions @@ -20,6 +20,7 @@ #pragma interface "apt-pkg/acquire-method.h" #endif +class Hashes; class pkgAcqMethod { protected: @@ -37,11 +38,14 @@ class pkgAcqMethod struct FetchResult { string MD5Sum; + string SHA1Sum; time_t LastModified; bool IMSHit; string Filename; unsigned long Size; - unsigned long ResumePoint; + unsigned long ResumePoint; + + void TakeHashes(Hashes &Hash); FetchResult(); }; |