summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:52:35 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:52:35 +0000
commit7d8afa391c5cd04e797a2b41fe3b946631254995 (patch)
tree3b2eeb405474531270951c1c17ae6bba016dbd16 /apt-pkg/acquire-item.h
parentf7a08e33bc039e967bf38c2ef78cbb7cd7bb658d (diff)
Retry support
Author: jgg Date: 1999-01-30 08:08:54 GMT Retry support
Diffstat (limited to 'apt-pkg/acquire-item.h')
-rw-r--r--apt-pkg/acquire-item.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/apt-pkg/acquire-item.h b/apt-pkg/acquire-item.h
index 676766dbc..8b6889c4d 100644
--- a/apt-pkg/acquire-item.h
+++ b/apt-pkg/acquire-item.h
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: acquire-item.h,v 1.13 1999/01/30 06:07:24 jgg Exp $
+// $Id: acquire-item.h,v 1.14 1999/01/30 08:08:54 jgg Exp $
/* ######################################################################
Acquire Item - Item to acquire
@@ -55,8 +55,8 @@ class pkgAcquire::Item
// File to write the fetch into
string DestFile;
-
- virtual void Failed(string Message);
+
+ virtual void Failed(string Message,pkgAcquire::MethodConfig *Cnf);
virtual void Done(string Message,unsigned long Size,string Md5Hash);
virtual void Start(string Message,unsigned long Size);
virtual string MD5Sum() {return string();};
@@ -116,12 +116,13 @@ class pkgAcqArchive : public pkgAcquire::Item
string MD5;
string &StoreFilename;
pkgCache::VerFileIterator Vf;
+ unsigned int Retries;
bool QueueNext();
public:
- virtual void Failed(string Message);
+ virtual void Failed(string Message,pkgAcquire::MethodConfig *Cnf);
virtual string MD5Sum() {return MD5;};
virtual void Done(string Message,unsigned long Size,string Md5Hash);
virtual string Describe();