mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 18:48:20 +00:00
Move all of the hashing classes/functions to zeek::detail namespace
This commit is contained in:
parent
93948b4d19
commit
a2a435360a
40 changed files with 289 additions and 234 deletions
10
src/IPAddr.h
10
src/IPAddr.h
|
@ -14,7 +14,7 @@ namespace zeek { class String; }
|
|||
using BroString [[deprecated("Remove in v4.1. Use zeek::String instead.")]] = zeek::String;
|
||||
|
||||
struct ConnID;
|
||||
class HashKey;
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(HashKey, zeek::detail);
|
||||
namespace analyzer { class ExpectedConn; }
|
||||
|
||||
typedef in_addr in4_addr;
|
||||
|
@ -260,10 +260,10 @@ public:
|
|||
/**
|
||||
* Returns a key that can be used to lookup the IP Address in a hash table.
|
||||
*/
|
||||
std::unique_ptr<HashKey> MakeHashKey() const;
|
||||
std::unique_ptr<zeek::detail::HashKey> MakeHashKey() const;
|
||||
|
||||
[[deprecated("Remove in v4.1. Use MakeHashKey().")]]
|
||||
HashKey* GetHashKey() const;
|
||||
zeek::detail::HashKey* GetHashKey() const;
|
||||
|
||||
/**
|
||||
* Masks out lower bits of the address.
|
||||
|
@ -639,10 +639,10 @@ public:
|
|||
/**
|
||||
* Returns a key that can be used to lookup the IP Prefix in a hash table.
|
||||
*/
|
||||
std::unique_ptr<HashKey> MakeHashKey() const;
|
||||
std::unique_ptr<zeek::detail::HashKey> MakeHashKey() const;
|
||||
|
||||
[[deprecated("Remove in v4.1. Use MakeHashKey().")]]
|
||||
HashKey* GetHashKey() const;
|
||||
zeek::detail::HashKey* GetHashKey() const;
|
||||
|
||||
/** Converts the prefix into the type used internally by the
|
||||
* inter-thread communication.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue