]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/versionmatch.h
close server if parsing of header field failed
[apt.git] / apt-pkg / versionmatch.h
index bb950b9c7606bd75027894c7e5b6d6d6c8513844..156ad61cbf8ee1ce905a4110e1f67c3cf4757550 100644 (file)
@@ -74,6 +74,7 @@ class pkgVersionMatch
    static bool ExpressionMatches(const std::string& pattern, const char *string);
    bool FileMatch(pkgCache::PkgFileIterator File);
    pkgCache::VerIterator Find(pkgCache::PkgIterator Pkg);
+   bool VersionMatches(pkgCache::VerIterator Ver);
 
    pkgVersionMatch(std::string Data,MatchType Type);
 };