diff options
author | Michael Vogt <egon@tas> | 2007-02-01 12:32:50 +0100 |
---|---|---|
committer | Michael Vogt <egon@tas> | 2007-02-01 12:32:50 +0100 |
commit | 36280399db0ae203d3f1ae4d44b946f31e9a38ce (patch) | |
tree | 79cba67d2c395b54d2b2ff5863de00ffeab4fdda /apt-pkg/acquire-item.h | |
parent | 362d29343e5d25248bcd84300aa1b18effe891e7 (diff) |
* commited the latest mirror failure detection code
Diffstat (limited to 'apt-pkg/acquire-item.h')
-rw-r--r-- | apt-pkg/acquire-item.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apt-pkg/acquire-item.h b/apt-pkg/acquire-item.h index c9cd75321..9949d0044 100644 --- a/apt-pkg/acquire-item.h +++ b/apt-pkg/acquire-item.h @@ -56,6 +56,7 @@ class pkgAcquire::Item unsigned long ID; bool Complete; bool Local; + string UsedMirror; // Number of queues we are inserted into unsigned int QueueCounter; @@ -78,6 +79,9 @@ class pkgAcquire::Item pkgAcquire *GetOwner() {return Owner;}; virtual bool IsTrusted() {return false;}; + // report mirror problems + void ReportMirrorFailure(string FailCode); + Item(pkgAcquire *Owner); virtual ~Item(); }; @@ -205,7 +209,6 @@ class pkgAcqArchive : public pkgAcquire::Item virtual string ShortDesc() {return Desc.ShortDesc;}; virtual void Finished(); virtual bool IsTrusted(); - virtual string Custom600Headers(); pkgAcqArchive(pkgAcquire *Owner,pkgSourceList *Sources, pkgRecords *Recs,pkgCache::VerIterator const &Version, |