mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
Move a few low-use classes to namespaces
This commit is contained in:
parent
886fc102b8
commit
c9ab1f93e7
53 changed files with 252 additions and 122 deletions
|
@ -5,6 +5,8 @@
|
|||
#include <string>
|
||||
#include <unordered_map>
|
||||
|
||||
namespace zeek::detail {
|
||||
|
||||
struct WeirdState {
|
||||
WeirdState() = default;
|
||||
uint64_t count = 0;
|
||||
|
@ -15,3 +17,5 @@ using WeirdStateMap = std::unordered_map<std::string, WeirdState>;
|
|||
|
||||
bool PermitWeird(WeirdStateMap& wsm, const char* name, uint64_t threshold,
|
||||
uint64_t rate, double duration);
|
||||
|
||||
} // namespace zeek::detail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue