mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 20:18:20 +00:00
Deprecate HOOK_BRO_OBJ_DTOR and related methods
This commit is contained in:
parent
4d4c6280e9
commit
1496b99a34
9 changed files with 112 additions and 15 deletions
|
@ -33,6 +33,7 @@ const char* hook_name(HookType h)
|
|||
"LogWrite",
|
||||
"Reporter",
|
||||
"UnprocessedPacket",
|
||||
"ObjDtor",
|
||||
// MetaHooks
|
||||
"MetaHookPre",
|
||||
"MetaHookPost",
|
||||
|
@ -385,6 +386,11 @@ void Plugin::RequestBroObjDtor(Obj* obj)
|
|||
plugin_mgr->RequestBroObjDtor(obj, this);
|
||||
}
|
||||
|
||||
void Plugin::RequestObjDtor(Obj* obj)
|
||||
{
|
||||
plugin_mgr->RequestObjDtor(obj, this);
|
||||
}
|
||||
|
||||
int Plugin::HookLoadFile(const LoadType type, const std::string& file, const std::string& resolved)
|
||||
{
|
||||
return -1;
|
||||
|
@ -416,6 +422,8 @@ void Plugin::HookSetupAnalyzerTree(Connection* conn) { }
|
|||
|
||||
void Plugin::HookBroObjDtor(void* obj) { }
|
||||
|
||||
void Plugin::HookObjDtor(void* obj) { }
|
||||
|
||||
void Plugin::HookLogInit(const std::string& writer, const std::string& instantiating_filter,
|
||||
bool local, bool remote, const logging::WriterBackend::WriterInfo& info,
|
||||
int num_fields, const threading::Field* const* fields)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue