summaryrefslogtreecommitdiff
path: root/apt-pkg/tagfile.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-07-27 00:55:34 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-07-27 00:55:34 +0200
commit80e2662eee5ac39d1dd402dd082d79be891dd98c (patch)
tree880399b45c98e4f3ecb2cb5b215efe85d5f7622f /apt-pkg/tagfile.h
parent227307bee12eb31ea3b1577bc7be7e1c615dd200 (diff)
parent99c2e5aca0b8284762158b5052766a7d64bf4ffd (diff)
* merged the "work-on-non-mapable-files-again" branch
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();
};