mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
22 lines
690 B
C++
22 lines
690 B
C++
// 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 final : public plugin::Plugin {
|
|
public:
|
|
plugin::Configuration Configure() override {
|
|
AddComponent(new storage::BackendComponent("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
|