From ad00ae81eb9e1f5384f8fe32879d483c72bbdace Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:50:51 +0000 Subject: DumpAvail works and apt-cache is complete Author: jgg Date: 1998-07-19 04:22:00 GMT DumpAvail works and apt-cache is complete --- apt-pkg/tagfile.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'apt-pkg/tagfile.h') 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 -- cgit v1.2.3