mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
Merge branch 'topic/robin/dynamic-plugins-2.3' into topic/robin/pktsrc
This commit is contained in:
commit
191b63e334
279 changed files with 10030 additions and 1258 deletions
|
@ -5,40 +5,16 @@
|
|||
|
||||
using namespace iosource;
|
||||
|
||||
Component::Component(const std::string& arg_name)
|
||||
: plugin::Component(plugin::component::IOSOURCE)
|
||||
Component::Component(const std::string& name)
|
||||
: plugin::Component(plugin::component::IOSOURCE, name)
|
||||
{
|
||||
name = arg_name;
|
||||
}
|
||||
|
||||
Component::Component(plugin::component::Type type, const std::string& arg_name)
|
||||
: plugin::Component(type)
|
||||
Component::Component(plugin::component::Type type, const std::string& name)
|
||||
: plugin::Component(type, name)
|
||||
{
|
||||
name = arg_name;
|
||||
}
|
||||
|
||||
Component::Component(const Component& other)
|
||||
: plugin::Component(other)
|
||||
{
|
||||
name = other.name;
|
||||
}
|
||||
|
||||
Component::~Component()
|
||||
{
|
||||
}
|
||||
|
||||
void Component::Describe(ODesc* d) const
|
||||
{
|
||||
plugin::Component::Describe(d);
|
||||
d->Add(name);
|
||||
}
|
||||
|
||||
Component& Component::operator=(const Component& other)
|
||||
{
|
||||
plugin::Component::operator=(other);
|
||||
|
||||
if ( &other != this )
|
||||
name = other.name;
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue