summaryrefslogtreecommitdiff
path: root/apt-pkg/tagfile.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-06-26 06:30:09 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-06-26 06:30:09 +0200
commita23dcda4a75ead3ef9712d90300f45155856b6ce (patch)
tree8951be2e20b5403c4339fa246b59d7770c8e2e46 /apt-pkg/tagfile.h
parentbc03039d0f532b6463de33bff60c7d876af6ea5e (diff)
parentb90d7d855709c49a6d5faff0ac65b96fd15e4500 (diff)
* merged with mainline
Diffstat (limited to 'apt-pkg/tagfile.h')
-rw-r--r--apt-pkg/tagfile.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/apt-pkg/tagfile.h b/apt-pkg/tagfile.h
index 8c948754d..5cff2681c 100644
--- a/apt-pkg/tagfile.h
+++ b/apt-pkg/tagfile.h
@@ -25,6 +25,7 @@
#endif
#include <apt-pkg/fileutl.h>
+#include <apt-pkg/mmap.h>
#include <stdio.h>
class pkgTagSection
@@ -69,15 +70,13 @@ class pkgTagSection
class pkgTagFile
{
FileFd &Fd;
+ MMap *Map;
char *Buffer;
char *Start;
char *End;
- bool Done;
unsigned long iOffset;
unsigned long Size;
- bool Fill();
-
public:
bool Step(pkgTagSection &Section);