mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
Move all of the rule matching code to zeek::detail
This commit is contained in:
parent
25c0fc7ab2
commit
382812298d
29 changed files with 269 additions and 196 deletions
|
@ -6,8 +6,10 @@
|
|||
|
||||
#include <sys/types.h> // for u_char
|
||||
|
||||
class Rule;
|
||||
class RuleEndpointState;
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(Rule, zeek::detail);
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(RuleEndpointState, zeek::detail);
|
||||
|
||||
namespace zeek::detail {
|
||||
|
||||
// Base class of all rule actions.
|
||||
class RuleAction {
|
||||
|
@ -96,3 +98,12 @@ public:
|
|||
|
||||
void PrintDebug() override;
|
||||
};
|
||||
|
||||
} // namespace zeek::detail
|
||||
|
||||
using RuleAction [[deprecated("Remove in v4.1. Use zeek::detail::RuleAction.")]] = zeek::detail::RuleAction;
|
||||
using RuleActionEvent [[deprecated("Remove in v4.1. Use zeek::detail::RuleActionEvent.")]] = zeek::detail::RuleActionEvent;
|
||||
using RuleActionMIME [[deprecated("Remove in v4.1. Use zeek::detail::RuleActionMIME.")]] = zeek::detail::RuleActionMIME;
|
||||
using RuleActionAnalyzer [[deprecated("Remove in v4.1. Use zeek::detail::RuleActionAnalyzer.")]] = zeek::detail::RuleActionAnalyzer;
|
||||
using RuleActionEnable [[deprecated("Remove in v4.1. Use zeek::detail::RuleActionEnable.")]] = zeek::detail::RuleActionEnable;
|
||||
using RuleActionDisable [[deprecated("Remove in v4.1. Use zeek::detail::RuleActionDisable.")]] = zeek::detail::RuleActionDisable;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue