mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00

Made some class templates for code that seemed duplicated between file/protocol tags and managers. Seems like it helps a bit and hopefully can be also be used to transition other things that have enum value "tags" (e.g. logging writers, input readers) to the plugin system.
11 lines
277 B
C++
11 lines
277 B
C++
// See the file "COPYING" in the main distribution directory for copyright.
|
|
|
|
#include "Analyzer.h"
|
|
#include "Manager.h"
|
|
|
|
file_analysis::Analyzer::~Analyzer()
|
|
{
|
|
DBG_LOG(DBG_FILE_ANALYSIS, "Destroy file analyzer %s",
|
|
file_mgr->GetComponentName(tag));
|
|
Unref(args);
|
|
}
|