35 #ifndef PKGLIB_VERSIONMATCH_H
36 #define PKGLIB_VERSIONMATCH_H
42 #ifndef APT_8_CLEANER_HEADERS
53 std::string RelVerStr;
54 bool RelVerPrefixMatch;
55 std::string RelOrigin;
56 std::string RelRelease;
57 std::string RelCodename;
58 std::string RelArchive;
60 std::string RelComponent;
61 std::string RelArchitecture;
69 enum MatchType {None = 0,Version,Release,Origin} Type;
71 bool MatchVer(
const char *A,std::string B,
bool Prefix);
72 bool ExpressionMatches(
const char *pattern,
const char *
string);
73 bool ExpressionMatches(
const std::string& pattern,
const char *
string);
Definition: cacheiterators.h:136
pkgCache - Structure definitions for the cache file
Definition: versionmatch.h:46
Definition: cacheiterators.h:352
Definition: cacheiterators.h:185