mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 11:08:20 +00:00
Update plugin btests for namespace changes
This commit is contained in:
parent
70c2397f69
commit
874e170341
43 changed files with 420 additions and 317 deletions
|
@ -4,17 +4,16 @@
|
|||
#include <Val.h>
|
||||
#include <file_analysis/Analyzer.h>
|
||||
|
||||
namespace plugin {
|
||||
namespace Demo_Foo {
|
||||
namespace btest::plugin::Demo_Foo {
|
||||
|
||||
class Foo : public file_analysis::Analyzer {
|
||||
class Foo : public zeek::file_analysis::Analyzer {
|
||||
public:
|
||||
virtual bool DeliverStream(const u_char* data, uint64 len);
|
||||
virtual bool DeliverStream(const u_char* data, uint64_t len);
|
||||
|
||||
static file_analysis::Analyzer* Instantiate(RecordVal* args, file_analysis::File* file);
|
||||
static zeek::file_analysis::Analyzer* Instantiate(zeek::RecordValPtr args, zeek::file_analysis::File* file);
|
||||
|
||||
protected:
|
||||
Foo(RecordVal* args, file_analysis::File* file);
|
||||
Foo(zeek::RecordValPtr args, zeek::file_analysis::File* file);
|
||||
};
|
||||
|
||||
} }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue