mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Merge remote branch 'origin/topic/robin/reporting'
* origin/topic/robin/reporting: Syslog BiF now goes through the reporter as well. Avoiding infinite loops when an error message handlers triggers errors itself. Renaming the Logger to Reporter. Overhauling the internal reporting of messages to the user. Updating a bunch of tests/baselines as well. Conflicts: aux/broccoli policy.old/alarm.bro policy/all.bro policy/bro.init policy/frameworks/notice/weird.bro policy/notice.bro src/SSL-binpac.cc src/bro.bif src/main.cc
This commit is contained in:
commit
9709b1d522
152 changed files with 2625 additions and 1134 deletions
13
src/util.h
13
src/util.h
|
@ -171,19 +171,6 @@ typedef ptr_compat_uint SourceID;
|
|||
#define PRI_SOURCE_ID PRI_PTR_COMPAT_UINT
|
||||
static const SourceID SOURCE_LOCAL = 0;
|
||||
|
||||
class BroObj;
|
||||
extern void message(const char* msg);
|
||||
extern void warn(const char* msg);
|
||||
extern void warn(const char* msg, const char* addl);
|
||||
extern void error(const char* msg);
|
||||
extern void error(const char* msg, const char* addl);
|
||||
extern void error(const char* msg, uint32 addl);
|
||||
extern void run_time(const char* msg);
|
||||
extern void run_time(const char* fmt, BroObj* obj);
|
||||
extern void run_time(const char* fmt, const char* arg);
|
||||
extern void run_time(const char* fmt, const char* arg1, const char* arg2);
|
||||
extern void internal_error(const char* fmt, ...)
|
||||
myattribute((volatile, format (printf, 1, 2)));
|
||||
extern void pinpoint();
|
||||
extern int int_list_cmp(const void* v1, const void* v2);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue