mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Merge remote-tracking branch 'origin/topic/jsiwek/broker'
* origin/topic/jsiwek/broker: (34 commits) Update broker submodule. Update broker submodule. broker integration: add missing baselines for doc tests broker integration: add prof.log statistics broker integration: add high-level usage documentation broker integration: add API documentation (broxygen/doxygen) broker integration: fix memory leak, add leak tests Update broker submodule. Improve comm tests. Fix gcc compile warnings. broker integration: fix unit tests to work when broker is not enabled. Add --enable-c++11 configure flag. broker integration: add (un)publish/(un)advertise functions broker integration: add knobs to set auto publish/advertise behavior broker integration: move listen port for unit tests to a btest variable broker integration: add events for incoming connection status updates broker integration: adapt to change in expiration_time Update coverage unit test baselines. broker integration: add Comm::enable function broker integration: process debug/diagnostic reports from broker ... Conflicts: cmake testing/btest/Baseline/plugins.hooks/output
This commit is contained in:
commit
dfc88094ab
123 changed files with 8375 additions and 36 deletions
18
src/main.cc
18
src/main.cc
|
@ -63,6 +63,10 @@ extern "C" void OPENSSL_add_all_algorithms_conf(void);
|
|||
|
||||
#include "3rdparty/sqlite3.h"
|
||||
|
||||
#ifdef ENABLE_BROKER
|
||||
#include <comm/Manager.h>
|
||||
#endif
|
||||
|
||||
Brofiler brofiler;
|
||||
|
||||
#ifndef HAVE_STRSEP
|
||||
|
@ -81,9 +85,6 @@ int perftools_leaks = 0;
|
|||
int perftools_profile = 0;
|
||||
#endif
|
||||
|
||||
const char* prog;
|
||||
char* writefile = 0;
|
||||
name_list prefixes;
|
||||
DNS_Mgr* dns_mgr;
|
||||
TimerMgr* timer_mgr;
|
||||
logging::Manager* log_mgr = 0;
|
||||
|
@ -94,6 +95,13 @@ analyzer::Manager* analyzer_mgr = 0;
|
|||
file_analysis::Manager* file_mgr = 0;
|
||||
broxygen::Manager* broxygen_mgr = 0;
|
||||
iosource::Manager* iosource_mgr = 0;
|
||||
#ifdef ENABLE_BROKER
|
||||
comm::Manager* comm_mgr = 0;
|
||||
#endif
|
||||
|
||||
const char* prog;
|
||||
char* writefile = 0;
|
||||
name_list prefixes;
|
||||
Stmt* stmts;
|
||||
EventHandlerPtr net_done = 0;
|
||||
RuleMatcher* rule_matcher = 0;
|
||||
|
@ -851,6 +859,10 @@ int main(int argc, char** argv)
|
|||
input_mgr = new input::Manager();
|
||||
file_mgr = new file_analysis::Manager();
|
||||
|
||||
#ifdef ENABLE_BROKER
|
||||
comm_mgr = new comm::Manager();
|
||||
#endif
|
||||
|
||||
plugin_mgr->InitPreScript();
|
||||
analyzer_mgr->InitPreScript();
|
||||
file_mgr->InitPreScript();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue