mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
24 lines
633 B
C++
24 lines
633 B
C++
#include "Plugin.h"
|
|
|
|
#include "zeek/storage/Component.h"
|
|
|
|
#include "StorageDummy.h"
|
|
|
|
namespace btest::plugin::Testing_StorageDummy {
|
|
Plugin plugin;
|
|
}
|
|
|
|
using namespace btest::plugin::Testing_StorageDummy;
|
|
|
|
zeek::plugin::Configuration Plugin::Configure() {
|
|
AddComponent(
|
|
new zeek::storage::BackendComponent("StorageDummy", btest::storage::backend::StorageDummy::Instantiate));
|
|
|
|
zeek::plugin::Configuration config;
|
|
config.name = "Testing::StorageDummy";
|
|
config.description = "A dummy storage plugin";
|
|
config.version.major = 1;
|
|
config.version.minor = 0;
|
|
config.version.patch = 0;
|
|
return config;
|
|
}
|