MCPcopy Create free account
hub / github.com/USBGuard/usbguard / getRuleSet

Method getRuleSet

src/Daemon/NSHandler.cpp:126–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124 }
125
126 std::vector<std::shared_ptr<RuleSet>> NSHandler::getRuleSet(Interface* const interface_ptr)
127 {
128 RuleSetFactory::setInterface(interface_ptr);
129 return RuleSetFactory::generateRuleSetBySource(_source);
130 }
131
132 void NSHandler::setRulesPath(const std::string& path)
133 {

Callers 2

loadRulesMethod · 0.45
listRulesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected