mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Update zeek.bif
This commit is contained in:
parent
722381366b
commit
f9c34f29c7
1 changed files with 3 additions and 3 deletions
|
@ -5653,7 +5653,7 @@ function find_in_zeekpath%(p: string%): string
|
|||
##
|
||||
## Returns: A vector of records containing the tags of all plugin components
|
||||
## that belong to the specified category.
|
||||
function get_plugin_components%(category: string%): PluginComponent_vec
|
||||
function get_plugin_components%(category: string%): plugin_component_vec
|
||||
%{
|
||||
std::string cat = category->CheckString();
|
||||
auto type = CategoryStringToEnum(cat);
|
||||
|
@ -5664,12 +5664,12 @@ function get_plugin_components%(category: string%): PluginComponent_vec
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
static auto vec_type = zeek::id::find_type<zeek::VectorType>("PluginComponent_vec");
|
||||
static auto vec_type = zeek::id::find_type<zeek::VectorType>("plugin_component_vec");
|
||||
static auto rec_type = zeek::id::find_type<zeek::RecordType>("PluginComponent");
|
||||
|
||||
if ( ! vec_type || ! rec_type )
|
||||
{
|
||||
reporter->Error("Required types not found (PluginComponent or PluginComponent_vec)");
|
||||
reporter->Error("Required types not found (PluginComponent or plugin_component_vec)");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue