summaryrefslogtreecommitdiff
path: root/apt-pkg/tagfile.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-08-09 14:45:01 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-08-09 14:45:01 +0200
commit754229c5d8e929a221645a5c56c1bd4274910c26 (patch)
treeaf29ab8694b0ff8876a2df83513c4cd41e492415 /apt-pkg/tagfile.h
parentaf5a94f4c7b1f2cc797cd1e023e36a1bb359689d (diff)
parent1b5f30cb5575f274246b1dabad0efc7a7a549aac (diff)
* merged with mainline
Diffstat (limited to 'apt-pkg/tagfile.h')
-rw-r--r--apt-pkg/tagfile.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/apt-pkg/tagfile.h b/apt-pkg/tagfile.h
index 5cff2681c..dd481ba51 100644
--- a/apt-pkg/tagfile.h
+++ b/apt-pkg/tagfile.h
@@ -74,16 +74,19 @@ class pkgTagFile
char *Buffer;
char *Start;
char *End;
+ bool Done;
unsigned long iOffset;
unsigned long Size;
+ bool Fill();
+
public:
bool Step(pkgTagSection &Section);
inline unsigned long Offset() {return iOffset;};
bool Jump(pkgTagSection &Tag,unsigned long Offset);
- pkgTagFile(FileFd *F,unsigned long Size = 32*1024);
+ pkgTagFile(FileFd *F,unsigned long Size = 64*1024);
~pkgTagFile();
};