mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
26 lines
522 B
C++
26 lines
522 B
C++
#include "plugin/Plugin.h"
|
|
#include "analyzer/Component.h"
|
|
|
|
#include "FOO.h"
|
|
|
|
namespace plugin {
|
|
namespace Foo_FOO {
|
|
|
|
class Plugin : public plugin::Plugin {
|
|
public:
|
|
plugin::Configuration Configure()
|
|
{
|
|
AddComponent(new ::analyzer::Component("FOO",
|
|
::analyzer::FOO::FOO_Analyzer::InstantiateAnalyzer));
|
|
|
|
plugin::Configuration config;
|
|
config.name = "FOO::Foo";
|
|
config.description = "Foo Analyzer analyzer";
|
|
config.version.major = 1;
|
|
config.version.minor = 0;
|
|
return config;
|
|
}
|
|
} plugin;
|
|
|
|
}
|
|
}
|