mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08: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
|
@ -1,3 +1,5 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Reassem.h"
|
||||
|
@ -6,10 +8,9 @@ namespace zeek { class File; }
|
|||
using BroFile [[deprecated("Remove in v4.1. Use zeek::File.")]] = zeek::File;
|
||||
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(Connection, zeek);
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(File, zeek, file_analysis);
|
||||
|
||||
namespace file_analysis {
|
||||
|
||||
class File;
|
||||
namespace zeek::file_analysis {
|
||||
|
||||
class FileReassembler final : public zeek::Reassembler {
|
||||
public:
|
||||
|
@ -58,4 +59,8 @@ protected:
|
|||
bool flushing;
|
||||
};
|
||||
|
||||
} // namespace analyzer::*
|
||||
} // namespace zeek::file_analysis
|
||||
|
||||
namespace file_analysis {
|
||||
using FileReassembler [[deprecated("Remove in v4.1. Use zeek::file_analysis::FileReassembler.")]] = zeek::file_analysis::FileReassembler;
|
||||
} // namespace file_analysis
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue