summaryrefslogtreecommitdiff
path: root/include/rssignores.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rssignores.h')
-rw-r--r--include/rssignores.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/rssignores.h b/include/rssignores.h
index f38aa90c..dce190e5 100644
--- a/include/rssignores.h
+++ b/include/rssignores.h
@@ -2,6 +2,7 @@
#define NEWSBOAT_RSSIGNORES_H_
#include <string>
+#include <unordered_map>
#include <vector>
#include "configactionhandler.h"
@@ -24,7 +25,10 @@ public:
bool matches_resetunread(const std::string& url);
private:
- std::vector<FeedUrlExprPair> ignores;
+ bool matches_expr(std::shared_ptr<Matcher> expr, RssItem* item);
+
+ std::vector<FeedUrlExprPair> regex_ignores;
+ std::unordered_multimap<std::string, std::shared_ptr<Matcher>> non_regex_ignores;
std::vector<std::string> ignores_lastmodified;
std::vector<std::string> resetflag;