Move file_analysis code to zeek namespaces

This commit is contained in:
Tim Wojtulewicz 2020-08-01 10:47:36 -07:00
parent 8411adf9e1
commit 14408235b8
66 changed files with 554 additions and 410 deletions

View file

@ -4,7 +4,7 @@
#include "File.h"
#include "Manager.h"
using namespace file_analysis;
namespace zeek::file_analysis::detail {
FileTimer::FileTimer(double t, const std::string& id, double interval)
: zeek::detail::Timer(t + interval, zeek::detail::TIMER_FILE_ANALYSIS_INACTIVITY), file_id(id)
@ -39,3 +39,5 @@ void FileTimer::Dispatch(double t, bool is_expire)
else if ( ! is_expire )
file->ScheduleInactivityTimer();
}
} // namespace zeek::file_analysis::detail