mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Move all debugger code into the zeek::detail namespace
This commit is contained in:
parent
834b76f94f
commit
35c61697d9
17 changed files with 525 additions and 419 deletions
|
@ -67,7 +67,8 @@ extern "C" {
|
|||
#define DOCTEST_CONFIG_IMPLEMENT
|
||||
#include "3rdparty/doctest.h"
|
||||
|
||||
Brofiler brofiler;
|
||||
zeek::detail::Brofiler zeek::detail::brofiler;
|
||||
zeek::detail::Brofiler& brofiler = zeek::detail::brofiler;
|
||||
|
||||
#ifndef HAVE_STRSEP
|
||||
extern "C" {
|
||||
|
@ -272,7 +273,7 @@ void terminate_bro()
|
|||
// the termination process.
|
||||
file_mgr->Terminate();
|
||||
|
||||
brofiler.WriteStats();
|
||||
zeek::detail::brofiler.WriteStats();
|
||||
|
||||
if ( zeek_done )
|
||||
mgr.Enqueue(zeek_done, zeek::Args{});
|
||||
|
@ -424,7 +425,7 @@ zeek::detail::SetupResult zeek::detail::setup(int argc, char** argv,
|
|||
if ( zeek::Supervisor::ThisNode() )
|
||||
zeek::Supervisor::ThisNode()->Init(&options);
|
||||
|
||||
brofiler.ReadStats();
|
||||
zeek::detail::brofiler.ReadStats();
|
||||
|
||||
auto dns_type = options.dns_mode;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue