libkazv
push-rules-desc.cpp File Reference
#include <libkazv-config.hpp>
#include <charconv>
#include <boost/algorithm/string/regex.hpp>
#include <immer/array.hpp>
#include <event.hpp>
#include <json-utils.hpp>
#include <room/room-model.hpp>
#include <validator.hpp>
#include "push-rules-desc-p.hpp"
Include dependency graph for push-rules-desc.cpp:

Namespaces

 Kazv
 

Functions

std::vector< std::string > Kazv::splitPath (std::string path)
 
bool Kazv::matchGlob (std::string target, std::string pattern)
 
std::pair< bool, json > Kazv::validateRule (std::string ruleSetName, const json &rule)
 
Event Kazv::validatePushRules (const Event &e)
 
 Kazv::KAZV_DEFINE_COPYABLE_UNIQUE_PTR (PushRulesDesc, m_d)