mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +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
|
@ -653,5 +653,5 @@ void File::FileEvent(zeek::EventHandlerPtr h, zeek::Args args)
|
|||
bool File::PermitWeird(const char* name, uint64_t threshold, uint64_t rate,
|
||||
double duration)
|
||||
{
|
||||
return ::PermitWeird(weird_state, name, threshold, rate, duration);
|
||||
return zeek::detail::PermitWeird(weird_state, name, threshold, rate, duration);
|
||||
}
|
||||
|
|
|
@ -373,7 +373,7 @@ protected:
|
|||
zeek::String::CVec chunks;
|
||||
} bof_buffer; /**< Beginning of file buffer. */
|
||||
|
||||
WeirdStateMap weird_state;
|
||||
zeek::detail::WeirdStateMap weird_state;
|
||||
|
||||
static int id_idx;
|
||||
static int parent_id_idx;
|
||||
|
|
|
@ -69,7 +69,7 @@ string Manager::HashHandle(const string& handle) const
|
|||
zeek::detail::hash128_t hash;
|
||||
zeek::detail::KeyedHash::StaticHash128(handle.data(), handle.size(), &hash);
|
||||
|
||||
return Bro::UID(bits_per_uid, hash, 2).Base62("F");
|
||||
return zeek::UID(bits_per_uid, hash, 2).Base62("F");
|
||||
}
|
||||
|
||||
void Manager::SetHandle(const string& handle)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue