mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 11:08:20 +00:00
Base: Clean up explicit uses of namespaces in places where they're not necessary.
This commit covers all of the common and base classes.
This commit is contained in:
parent
9f802b2a4d
commit
fe0c22c789
240 changed files with 6823 additions and 6787 deletions
|
@ -25,11 +25,11 @@ namespace zeek::file_analysis {
|
|||
* A plugin can provide a specific file analyzer by registering this
|
||||
* analyzer component, describing the analyzer.
|
||||
*/
|
||||
class Component : public zeek::plugin::Component,
|
||||
public zeek::plugin::TaggedComponent<file_analysis::Tag> {
|
||||
class Component : public plugin::Component,
|
||||
public plugin::TaggedComponent<file_analysis::Tag> {
|
||||
public:
|
||||
typedef Analyzer* (*factory_callback)(zeek::RecordVal* args, File* file);
|
||||
using factory_function = Analyzer* (*)(zeek::RecordValPtr args, File* file);
|
||||
typedef Analyzer* (*factory_callback)(RecordVal* args, File* file);
|
||||
using factory_function = Analyzer* (*)(RecordValPtr args, File* file);
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
|
@ -80,10 +80,10 @@ protected:
|
|||
/**
|
||||
* Overriden from plugin::Component.
|
||||
*/
|
||||
void DoDescribe(zeek::ODesc* d) const override;
|
||||
void DoDescribe(ODesc* d) const override;
|
||||
|
||||
private:
|
||||
friend class zeek::file_analysis::Manager;
|
||||
friend class Manager;
|
||||
|
||||
factory_callback factory; // The analyzer's factory callback (deprecated).
|
||||
factory_function factory_func; // The analyzer's factory callback.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue