summaryrefslogtreecommitdiff
path: root/apt-pkg/cachefilter.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2019-08-19 14:15:49 +0000
committerJulian Andres Klode <jak@debian.org>2019-08-19 14:15:49 +0000
commitde951e5619f55c8281389a5c5986792f5453e602 (patch)
treefe9664d72c563e00e63e4acd83e6c1b21f8fa12c /apt-pkg/cachefilter.h
parent7c724251fd8c24e89dc8cb813eee20aa0a4ad793 (diff)
parentd18b6095862e8268b4d2cd8c0b3140829a1e4950 (diff)
Merge branch 'pu/patterns' into 'master'
Package patterns See merge request apt-team/apt!74
Diffstat (limited to 'apt-pkg/cachefilter.h')
-rw-r--r--apt-pkg/cachefilter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apt-pkg/cachefilter.h b/apt-pkg/cachefilter.h
index 8a6c01341..3c6e1559d 100644
--- a/apt-pkg/cachefilter.h
+++ b/apt-pkg/cachefilter.h
@@ -7,7 +7,9 @@
#define APT_CACHEFILTER_H
// Include Files /*{{{*/
#include <apt-pkg/pkgcache.h>
+#include <apt-pkg/string_view.h>
+#include <memory>
#include <string>
#include <vector>
@@ -145,6 +147,8 @@ public:
};
/*}}}*/
+/// \brief Parse a pattern, return nullptr or pattern
+std::unique_ptr<APT::CacheFilter::Matcher> ParsePattern(APT::StringView pattern, pkgCacheFile *file);
}
}
#endif