mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Adding Broker ifdefs for new remote logging code.
This commit is contained in:
parent
a5e9a535a5
commit
511ca9e043
5 changed files with 16 additions and 2 deletions
|
@ -6,7 +6,10 @@
|
|||
#define LOGGING_WRITERBACKEND_H
|
||||
|
||||
#include "threading/MsgThread.h"
|
||||
|
||||
#ifdef ENABLE_BROKER
|
||||
#include "broker/Data.h"
|
||||
#endif
|
||||
|
||||
#include "Component.h"
|
||||
|
||||
|
@ -115,8 +118,11 @@ public:
|
|||
// fields. They serialize/deserialize the struct.
|
||||
bool Read(SerializationFormat* fmt);
|
||||
bool Write(SerializationFormat* fmt) const;
|
||||
|
||||
#ifdef ENABLE_BROKER
|
||||
broker::data ToBroker() const;
|
||||
bool FromBroker(broker::data d);
|
||||
#endif
|
||||
|
||||
private:
|
||||
const WriterInfo& operator=(const WriterInfo& other); // Disable.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue