diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:13 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:13 +0000 |
commit | b0b4efb96c3fad90bf978d61b230501bcdadff3d (patch) | |
tree | 63c6013b85da3fe3835f1ef37466c91279fa9c47 /apt-pkg/tagfile.h | |
parent | 30456e14d97be16516a5a84ce9bf9acba143da87 (diff) |
Release support
Author: jgg
Date: 1998-12-14 02:23:46 GMT
Release support
Diffstat (limited to 'apt-pkg/tagfile.h')
-rw-r--r-- | apt-pkg/tagfile.h | 6 |
1 files changed, 4 insertions, 2 deletions
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;}; |