summaryrefslogtreecommitdiff
path: root/apt-pkg/tagfile.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-06-18 10:46:08 +0200
committerMichael Vogt <mvo@debian.org>2014-06-18 10:46:08 +0200
commitb6fea8bbe25e3c0312de72c99b0d49c699d02b7b (patch)
treee0f1b5f51e568be9370dece04ede0352ee37684a /apt-pkg/tagfile.h
parentda029b0aaebdc64a3a9f6b7012213539421c934b (diff)
parent59194959326dbf114a5c894e4279c04844b4a793 (diff)
Merge remote-tracking branch 'mvo/feature/update-by-hash' into debian/experimental
Diffstat (limited to 'apt-pkg/tagfile.h')
-rw-r--r--apt-pkg/tagfile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/tagfile.h b/apt-pkg/tagfile.h
index b0cfab759..db43bfbf9 100644
--- a/apt-pkg/tagfile.h
+++ b/apt-pkg/tagfile.h
@@ -62,7 +62,8 @@ class pkgTagSection
bool Find(const char *Tag,const char *&Start, const char *&End) const;
bool Find(const char *Tag,unsigned int &Pos) const;
std::string FindS(const char *Tag) const;
- signed int FindI(const char *Tag,signed long Default = 0) const ;
+ signed int FindI(const char *Tag,signed long Default = 0) const;
+ bool FindB(const char *Tag, bool const &Default = false) const;
unsigned long long FindULL(const char *Tag, unsigned long long const &Default = 0) const;
bool FindFlag(const char *Tag,unsigned long &Flags,
unsigned long Flag) const;