mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
22 lines
476 B
C++
22 lines
476 B
C++
|
|
#pragma once
|
|
|
|
#include <Val.h>
|
|
#include <file_analysis/Analyzer.h>
|
|
|
|
namespace btest::plugin::Demo_Foo
|
|
{
|
|
|
|
class Foo : public zeek::file_analysis::Analyzer
|
|
{
|
|
public:
|
|
virtual bool DeliverStream(const u_char* data, uint64_t len);
|
|
|
|
static zeek::file_analysis::Analyzer* Instantiate(zeek::RecordValPtr args,
|
|
zeek::file_analysis::File* file);
|
|
|
|
protected:
|
|
Foo(zeek::RecordValPtr args, zeek::file_analysis::File* file);
|
|
};
|
|
|
|
}
|