mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
Plugins: Clean up explicit uses of namespaces in places where they're not necessary.
This commit covers all of the plugin classes.
This commit is contained in:
parent
fe0c22c789
commit
70c2397f69
169 changed files with 3139 additions and 3141 deletions
|
@ -5,8 +5,8 @@
|
|||
|
||||
namespace zeek::file_analysis::detail {
|
||||
|
||||
Unified2::Unified2(zeek::RecordValPtr args, zeek::file_analysis::File* file)
|
||||
: file_analysis::Analyzer(zeek::file_mgr->GetComponentTag("UNIFIED2"),
|
||||
Unified2::Unified2(RecordValPtr args, file_analysis::File* file)
|
||||
: file_analysis::Analyzer(file_mgr->GetComponentTag("UNIFIED2"),
|
||||
std::move(args), file)
|
||||
{
|
||||
interp = new binpac::Unified2::Unified2_Analyzer(this);
|
||||
|
@ -17,8 +17,8 @@ Unified2::~Unified2()
|
|||
delete interp;
|
||||
}
|
||||
|
||||
zeek::file_analysis::Analyzer* Unified2::Instantiate(zeek::RecordValPtr args,
|
||||
zeek::file_analysis::File* file)
|
||||
file_analysis::Analyzer* Unified2::Instantiate(RecordValPtr args,
|
||||
file_analysis::File* file)
|
||||
{
|
||||
return new Unified2(std::move(args), file);
|
||||
}
|
||||
|
|
|
@ -14,17 +14,17 @@ namespace zeek::file_analysis::detail {
|
|||
/**
|
||||
* An analyzer to extract content of files from local disk.
|
||||
*/
|
||||
class Unified2 : public zeek::file_analysis::Analyzer {
|
||||
class Unified2 : public file_analysis::Analyzer {
|
||||
public:
|
||||
~Unified2() override;
|
||||
|
||||
bool DeliverStream(const u_char* data, uint64_t len) override;
|
||||
|
||||
static zeek::file_analysis::Analyzer* Instantiate(zeek::RecordValPtr args,
|
||||
zeek::file_analysis::File* file);
|
||||
static file_analysis::Analyzer* Instantiate(RecordValPtr args,
|
||||
file_analysis::File* file);
|
||||
|
||||
protected:
|
||||
Unified2(zeek::RecordValPtr args, zeek::file_analysis::File* file);
|
||||
Unified2(RecordValPtr args, file_analysis::File* file);
|
||||
|
||||
private:
|
||||
binpac::Unified2::Unified2_Analyzer* interp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue