mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
Update plugin btests for namespace changes
This commit is contained in:
parent
70c2397f69
commit
874e170341
43 changed files with 420 additions and 317 deletions
|
@ -3,17 +3,16 @@
|
|||
|
||||
#include "FOO.h"
|
||||
|
||||
namespace plugin {
|
||||
namespace Foo_FOO {
|
||||
namespace btest::plugin::Foo_FOO {
|
||||
|
||||
class Plugin : public plugin::Plugin {
|
||||
class Plugin : public zeek::plugin::Plugin {
|
||||
public:
|
||||
plugin::Configuration Configure()
|
||||
zeek::plugin::Configuration Configure()
|
||||
{
|
||||
AddComponent(new ::analyzer::Component("FOO",
|
||||
::analyzer::FOO::FOO_Analyzer::InstantiateAnalyzer));
|
||||
AddComponent(new zeek::analyzer::Component("FOO",
|
||||
btest::analyzer::FOO::FOO_Analyzer::InstantiateAnalyzer));
|
||||
|
||||
plugin::Configuration config;
|
||||
zeek::plugin::Configuration config;
|
||||
config.name = "FOO::Foo";
|
||||
config.description = "Foo Analyzer analyzer";
|
||||
config.version.major = 1;
|
||||
|
@ -23,4 +22,3 @@ public:
|
|||
} plugin;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue