Make storage events take a tag for the backend instead of a string

This commit is contained in:
Tim Wojtulewicz 2025-03-24 16:16:26 -07:00
parent 989e4adf90
commit 32ae8f4eaa
15 changed files with 39 additions and 38 deletions

View file

@ -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.