mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Make storage events take a tag for the backend instead of a string
This commit is contained in:
parent
989e4adf90
commit
32ae8f4eaa
15 changed files with 39 additions and 38 deletions
|
@ -12,10 +12,10 @@ namespace zeek::storage::backend::sqlite {
|
|||
|
||||
class SQLite : public Backend {
|
||||
public:
|
||||
SQLite(std::string_view tag) : Backend(SupportedModes::SYNC, tag) {}
|
||||
SQLite() : Backend(SupportedModes::SYNC, "SQLITE") {}
|
||||
~SQLite() override = default;
|
||||
|
||||
static BackendPtr Instantiate(std::string_view tag);
|
||||
static BackendPtr Instantiate();
|
||||
|
||||
/**
|
||||
* Returns whether the backend is opened.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue