summaryrefslogtreecommitdiff
path: root/apt-pkg/tagfile.h
diff options
context:
space:
mode:
authorMichael Vogt <egon@bottom>2006-04-26 12:55:06 +0200
committerMichael Vogt <egon@bottom>2006-04-26 12:55:06 +0200
commit2268ad65d9f36433f2b3d46e05e8782285641ee3 (patch)
treec810ed490287038312ab32f8ced18e783aab8309 /apt-pkg/tagfile.h
parentce95a6f99ffa7bcb225bd9dd28dd73ee77553eb5 (diff)
parent432b168ce4ec7a7c2caef44c0c8470c7197d58b3 (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);