From b0b4efb96c3fad90bf978d61b230501bcdadff3d Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:52:13 +0000 Subject: Release support Author: jgg Date: 1998-12-14 02:23:46 GMT Release support --- apt-pkg/tagfile.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'apt-pkg/tagfile.h') diff --git a/apt-pkg/tagfile.h b/apt-pkg/tagfile.h index 83dd73d2a..82c856f8d 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.12 1998/12/07 07:26:23 jgg Exp $ +// $Id: tagfile.h,v 1.13 1998/12/14 02:23:47 jgg Exp $ /* ###################################################################### Fast scanner for RFC-822 type header information @@ -45,7 +45,9 @@ class pkgTagSection bool Find(const char *Tag,const char *&Start, const char *&End); string FindS(const char *Tag); - unsigned int FindI(const char *Tag); + signed int FindI(const char *Tag,signed long Default = 0); + bool pkgTagSection::FindFlag(const char *Tag,unsigned long &Flags, + unsigned long Flag); bool Scan(const char *Start,unsigned long MaxLength); inline unsigned long size() {return Stop - Section;}; -- cgit v1.2.3