Add basic SQLite storage backend

This commit is contained in:
Tim Wojtulewicz 2024-01-27 13:34:20 -07:00
parent 7ad6a05f5b
commit 9d1eef3fbc
15 changed files with 388 additions and 10 deletions

View file

@ -0,0 +1,22 @@
// See the file "COPYING" in the main distribution directory for copyright.
#include "zeek/plugin/Plugin.h"
#include "zeek/storage/Component.h"
#include "zeek/storage/backend/sqlite/SQLite.h"
namespace zeek::storage::backend::sqlite {
class Plugin : public plugin::Plugin {
public:
plugin::Configuration Configure() override {
AddComponent(new storage::Component("SQLITE", backend::sqlite::SQLite::Instantiate));
plugin::Configuration config;
config.name = "Zeek::Storage_Backend_SQLite";
config.description = "SQLite backend for storage framework";
return config;
}
} plugin;
} // namespace zeek::storage::backend::sqlite