mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
Move file_analysis code to zeek namespaces
This commit is contained in:
parent
8411adf9e1
commit
14408235b8
66 changed files with 554 additions and 410 deletions
|
@ -11,11 +11,11 @@ namespace zeek {
|
|||
using RecordValPtr = zeek::IntrusivePtr<RecordVal>;
|
||||
}
|
||||
|
||||
namespace file_analysis {
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(File, zeek, file_analysis);
|
||||
|
||||
class File;
|
||||
namespace zeek::file_analysis {
|
||||
|
||||
typedef uint32_t ID;
|
||||
using ID = uint32_t;
|
||||
|
||||
/**
|
||||
* Base class for analyzers that can be attached to file_analysis::File objects.
|
||||
|
@ -185,4 +185,11 @@ private:
|
|||
static ID id_counter;
|
||||
};
|
||||
|
||||
} // namespace zeek::file_analysis
|
||||
|
||||
namespace file_analysis {
|
||||
|
||||
using ID [[deprecated("Remove in v4.1. Use zeek::file_analysis::ID.")]] = zeek::file_analysis::ID;
|
||||
using Analyzer [[deprecated("Remove in v4.1. Use zeek::file_analysis::Analyzer.")]] = zeek::file_analysis::Analyzer;
|
||||
|
||||
} // namespace file_analysis
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue