summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-08-19 15:07:53 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-08-19 15:07:53 +0000
commit4a0a786f45a78eb8631c0e2d39d804ab9fdea214 (patch)
treedf7cc0b161d653262df476eecd3c183bfe2e4c6c /apt-pkg/acquire-item.h
parent2e178d1c3e0035616b338d7597a0c9d33e3bc080 (diff)
* use the new cool rred method for the patchting
Diffstat (limited to 'apt-pkg/acquire-item.h')
-rw-r--r--apt-pkg/acquire-item.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/acquire-item.h b/apt-pkg/acquire-item.h
index 8d58a39ba..99629216a 100644
--- a/apt-pkg/acquire-item.h
+++ b/apt-pkg/acquire-item.h
@@ -90,6 +90,7 @@ class pkgAcqIndexDiffs : public pkgAcquire::Item
pkgAcquire::ItemDesc Desc;
string RealURI;
string ExpectedMD5;
+
// this is the SHA-1 sum we expect after the patching
string ServerSha1;
string CurrentPackagesFile;
@@ -100,7 +101,7 @@ class pkgAcqIndexDiffs : public pkgAcquire::Item
unsigned long size;
};
vector<DiffInfo> available_patches;
-
+ enum {StateFetchIndex,StateFetchDiff,StateUnzipDiff,StateApplyDiff} State;
public: