mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
Move zeek::net namespace to zeek::run_state namespace.
This also moves all of the code from Net.{h,cc} to RunState.{h,cc} and marks Net.h as deprecated
This commit is contained in:
parent
d608e7c9a5
commit
0ac3fafe13
64 changed files with 477 additions and 467 deletions
|
@ -16,7 +16,7 @@
|
|||
ZEEK_FORWARD_DECLARE_NAMESPACED(CompositeHash, zeek::detail);
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(Frame, zeek::detail);
|
||||
|
||||
namespace zeek::net { extern double network_time; }
|
||||
namespace zeek::run_state { extern double network_time; }
|
||||
|
||||
namespace zeek::detail {
|
||||
|
||||
|
@ -53,7 +53,7 @@ public:
|
|||
|
||||
ForStmt* AsForStmt();
|
||||
|
||||
void RegisterAccess() const { last_access = zeek::net::network_time; access_count++; }
|
||||
void RegisterAccess() const { last_access = zeek::run_state::network_time; access_count++; }
|
||||
void AccessStats(ODesc* d) const;
|
||||
uint32_t GetAccessCount() const { return access_count; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue