Move a few of the zeek::util methods and variables to zeek::util::detail

This commit is contained in:
Tim Wojtulewicz 2020-08-06 15:45:42 -07:00
parent 5a2ac84eee
commit ddf48d7529
35 changed files with 1221 additions and 1226 deletions

View file

@ -58,12 +58,12 @@ static string NormalizeScriptPath(const string& path)
{
if ( auto p = zeek::plugin_mgr->LookupPluginByPath(path) )
{
auto rval = zeek::util::normalize_path(path);
auto rval = zeek::util::detail::normalize_path(path);
auto prefix = zeek::util::SafeBasename(p->PluginDirectory()).result;
return prefix + "/" + rval.substr(p->PluginDirectory().size() + 1);
}
return zeek::util::without_zeekpath_component(path);
return zeek::util::detail::without_zeekpath_component(path);
}
Manager::Manager(const string& arg_config, const string& bro_command)