diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:50:51 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:50:51 +0000 |
commit | ad00ae81eb9e1f5384f8fe32879d483c72bbdace (patch) | |
tree | 90dc3818bc981902022cf43d1f44dc0c1fd2a45c /apt-pkg/tagfile.h | |
parent | 8efa2a3ba4ae833415223a888e4561e57e4bf132 (diff) | |
download | apt-ad00ae81eb9e1f5384f8fe32879d483c72bbdace.tar.gz |
DumpAvail works and apt-cache is complete
Author: jgg
Date: 1998-07-19 04:22:00 GMT
DumpAvail works and apt-cache is complete
Diffstat (limited to 'apt-pkg/tagfile.h')
-rw-r--r-- | apt-pkg/tagfile.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apt-pkg/tagfile.h b/apt-pkg/tagfile.h index 446b5bf12..8e3dba33d 100644 --- a/apt-pkg/tagfile.h +++ b/apt-pkg/tagfile.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: tagfile.h,v 1.5 1998/07/16 06:08:40 jgg Exp $ +// $Id: tagfile.h,v 1.6 1998/07/19 04:22:07 jgg Exp $ /* ###################################################################### Fast scanner for RFC-822 type header information @@ -56,6 +56,7 @@ class pkgTagFile char *End; unsigned long Left; unsigned long iOffset; + unsigned long Size; bool Fill(); @@ -63,8 +64,9 @@ class pkgTagFile bool Step(pkgTagSection &Section); inline unsigned long Offset() {return iOffset;}; - - pkgTagFile(File &F); + bool Jump(pkgTagSection &Tag,unsigned long Offset); + + pkgTagFile(File &F,unsigned long Size = 32*1024); }; #endif |