mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 05:28:20 +00:00
Move all of the base plugin classes into the zeek::plugin namespace
This commit is contained in:
parent
cbdb8ee074
commit
e77e8c4b7b
28 changed files with 404 additions and 240 deletions
|
@ -5,7 +5,7 @@
|
|||
#include "../Desc.h"
|
||||
#include "../Reporter.h"
|
||||
|
||||
using namespace plugin;
|
||||
using namespace zeek::plugin;
|
||||
|
||||
Component::Component(component::Type arg_type, const std::string& arg_name)
|
||||
{
|
||||
|
@ -14,6 +14,13 @@ Component::Component(component::Type arg_type, const std::string& arg_name)
|
|||
canon_name = canonify_name(name);
|
||||
}
|
||||
|
||||
Component::Component(::plugin::component::Type arg_type, const std::string& arg_name)
|
||||
{
|
||||
type = static_cast<component::Type>(arg_type);
|
||||
name = arg_name;
|
||||
canon_name = canonify_name(name);
|
||||
}
|
||||
|
||||
Component::~Component()
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue