mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 23:28:20 +00:00
Deprecate file_analysis::Analyzer::Args(), replace with GetArgs()
This commit is contained in:
parent
faa4738807
commit
ecb7c7c27e
4 changed files with 14 additions and 10 deletions
|
@ -95,7 +95,12 @@ public:
|
|||
/**
|
||||
* @return the AnalyzerArgs associated with the analyzer.
|
||||
*/
|
||||
RecordVal* Args() const { return args; }
|
||||
const IntrusivePtr<RecordVal>& GetArgs() const
|
||||
{ return args; }
|
||||
|
||||
[[deprecated("Remove in v4.1. Use GetArgs().")]]
|
||||
RecordVal* Args() const
|
||||
{ return args.get(); }
|
||||
|
||||
/**
|
||||
* @return the file_analysis::File object to which the analyzer is attached.
|
||||
|
@ -166,7 +171,7 @@ private:
|
|||
|
||||
ID id; /**< Unique instance ID. */
|
||||
file_analysis::Tag tag; /**< The particular type of the analyzer instance. */
|
||||
RecordVal* args; /**< \c AnalyzerArgs val gives tunable analyzer params. */
|
||||
IntrusivePtr<RecordVal> args; /**< \c AnalyzerArgs val gives tunable analyzer params. */
|
||||
File* file; /**< The file to which the analyzer is attached. */
|
||||
bool got_stream_delivery;
|
||||
bool skip;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue