BrokerStore<->Zeek table - introdude &backend attribute

The &backend attribute allows for a much more convenient way of
interacting with brokerstores. One does not need to create a broker
store anymore - instead all of this is done internally.

The current state of this partially works. This should work fine for
persistence - but clones are currently not yet correctly attached.
This commit is contained in:
Johanna Amann 2020-06-30 16:33:52 -07:00
parent 43d2289754
commit 318a72c303
10 changed files with 187 additions and 3 deletions

View file

@ -1030,6 +1030,8 @@ public:
// on zeek::RecordTypes.
static void DoneParsing();
void SetBrokerStore(const std::string& store) { broker_store = store; }
protected:
void Init(IntrusivePtr<zeek::TableType> t);