Move everything in util.h to zeek::util namespace.

This commit includes renaming a number of methods prefixed with bro_ to be prefixed with zeek_.
This commit is contained in:
Tim Wojtulewicz 2020-08-06 10:40:24 -07:00
parent 8862b585fa
commit 8d2d867a65
179 changed files with 1277 additions and 1033 deletions

View file

@ -24,7 +24,7 @@ Component::~Component()
PktSrcComponent::PktSrcComponent(const std::string& arg_name, const std::string& arg_prefix, InputType arg_type, factory_callback arg_factory)
: iosource::Component(zeek::plugin::component::PKTSRC, arg_name)
{
tokenize_string(arg_prefix, ":", &prefixes);
zeek::util::tokenize_string(arg_prefix, ":", &prefixes);
type = arg_type;
factory = arg_factory;
}
@ -110,7 +110,7 @@ void PktSrcComponent::DoDescribe(zeek::ODesc* d) const
PktDumperComponent::PktDumperComponent(const std::string& name, const std::string& arg_prefix, factory_callback arg_factory)
: zeek::plugin::Component(zeek::plugin::component::PKTDUMPER, name)
{
tokenize_string(arg_prefix, ":", &prefixes);
zeek::util::tokenize_string(arg_prefix, ":", &prefixes);
factory = arg_factory;
}