mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38: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
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include "iosource/Manager.h"
|
||||
#include "supervisor/Supervisor.h"
|
||||
#include "Net.h"
|
||||
#include "RunState.h"
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ int main(int argc, char** argv)
|
|||
|
||||
auto& options = setup_result.options;
|
||||
auto do_net_run = zeek::iosource_mgr->Size() > 0 ||
|
||||
zeek::net::detail::have_pending_timers ||
|
||||
zeek::run_state::detail::have_pending_timers ||
|
||||
zeek::BifConst::exit_only_after_terminate;
|
||||
|
||||
if ( do_net_run )
|
||||
|
@ -56,7 +56,7 @@ int main(int argc, char** argv)
|
|||
mem_net_start_malloced / 1024 / 1024);
|
||||
}
|
||||
|
||||
zeek::net::detail::net_run();
|
||||
zeek::run_state::detail::net_run();
|
||||
|
||||
double time_net_done = zeek::util::current_time(true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue