mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 19:18:19 +00:00
19 lines
442 B
C++
19 lines
442 B
C++
#include "Plugin.h"
|
|
|
|
#include "Foo.h"
|
|
|
|
namespace plugin { namespace Demo_Foo { Plugin plugin; } }
|
|
|
|
using namespace plugin::Demo_Foo;
|
|
|
|
plugin::Configuration Plugin::Configure()
|
|
{
|
|
AddComponent(new ::input::Component("Foo", ::input::reader::Foo::Instantiate));
|
|
|
|
plugin::Configuration config;
|
|
config.name = "Demo::Foo";
|
|
config.description = "A Foo test input reader";
|
|
config.version.major = 1;
|
|
config.version.minor = 0;
|
|
return config;
|
|
}
|