mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04:28:20 +00:00
Restore globally-namespaced plugin_mgr variable, move zeek::plugin::plugin_mgr to zeek::plugin_mgr
This commit is contained in:
parent
9400b863ea
commit
834b76f94f
7 changed files with 35 additions and 29 deletions
|
@ -347,27 +347,27 @@ void Plugin::AddComponent(zeek::plugin::Component* c)
|
|||
|
||||
Plugin::hook_list Plugin::EnabledHooks() const
|
||||
{
|
||||
return plugin_mgr->HooksEnabledForPlugin(this);
|
||||
return zeek::plugin_mgr->HooksEnabledForPlugin(this);
|
||||
}
|
||||
|
||||
void Plugin::EnableHook(zeek::plugin::HookType hook, int priority)
|
||||
{
|
||||
plugin_mgr->EnableHook(hook, this, priority);
|
||||
zeek::plugin_mgr->EnableHook(hook, this, priority);
|
||||
}
|
||||
|
||||
void Plugin::DisableHook(zeek::plugin::HookType hook)
|
||||
{
|
||||
plugin_mgr->DisableHook(hook, this);
|
||||
zeek::plugin_mgr->DisableHook(hook, this);
|
||||
}
|
||||
|
||||
void Plugin::RequestEvent(EventHandlerPtr handler)
|
||||
{
|
||||
plugin_mgr->RequestEvent(handler, this);
|
||||
zeek::plugin_mgr->RequestEvent(handler, this);
|
||||
}
|
||||
|
||||
void Plugin::RequestBroObjDtor(Obj* obj)
|
||||
{
|
||||
plugin_mgr->RequestBroObjDtor(obj, this);
|
||||
zeek::plugin_mgr->RequestBroObjDtor(obj, this);
|
||||
}
|
||||
|
||||
int Plugin::HookLoadFile(const LoadType type, const std::string& file, const std::string& resolved)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue