mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
Merge topic/actor-system throug a squashed commit.
This commit is contained in:
parent
7a6f5020f6
commit
fe7e1ee7f0
466 changed files with 12559 additions and 9655 deletions
|
@ -166,6 +166,8 @@ extern std::string strtolower(const std::string& s);
|
|||
|
||||
extern const char* fmt_bytes(const char* data, int len);
|
||||
|
||||
// Note: returns a pointer into a shared buffer.
|
||||
extern const char* fmt(const char* format, va_list args);
|
||||
// Note: returns a pointer into a shared buffer.
|
||||
extern const char* fmt(const char* format, ...)
|
||||
__attribute__((format (printf, 1, 2)));
|
||||
|
@ -236,6 +238,13 @@ typedef ptr_compat_uint SourceID;
|
|||
#define PRI_SOURCE_ID PRI_PTR_COMPAT_UINT
|
||||
static const SourceID SOURCE_LOCAL = 0;
|
||||
|
||||
// TODO: This is a temporary marker to flag events coming in via Broker.
|
||||
// Those are remote events but we don't have any further peer informationa
|
||||
// available for them (as the old communication code would have). Once we
|
||||
// remove RemoteSerializer, we can turn the SourceID into a simple boolean
|
||||
// indicating whether it's a local or remote event.
|
||||
static const SourceID SOURCE_BROKER = 0xffffffff;
|
||||
|
||||
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