mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +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
|
@ -7,15 +7,21 @@
|
|||
|
||||
using namespace plugin;
|
||||
|
||||
Component::Component(component::Type arg_type)
|
||||
Component::Component(component::Type arg_type, const std::string& arg_name)
|
||||
{
|
||||
type = arg_type;
|
||||
name = arg_name;
|
||||
}
|
||||
|
||||
Component::~Component()
|
||||
{
|
||||
}
|
||||
|
||||
const std::string& Component::Name() const
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
component::Type Component::Type() const
|
||||
{
|
||||
return type;
|
||||
|
@ -63,4 +69,8 @@ void Component::Describe(ODesc* d) const
|
|||
|
||||
d->Add("]");
|
||||
d->Add(" ");
|
||||
d->Add(name);
|
||||
d->Add(" (");
|
||||
DoDescribe(d);
|
||||
d->Add(")");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue