mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
Use clang-format for all files in testing/btest/plugins
.
This is a fixup commit for dc65b6248c
.
This commit is contained in:
parent
96a14b39fa
commit
489534bd74
28 changed files with 208 additions and 160 deletions
|
@ -4,16 +4,19 @@
|
|||
#include <Val.h>
|
||||
#include <file_analysis/Analyzer.h>
|
||||
|
||||
namespace btest::plugin::Demo_Foo {
|
||||
namespace btest::plugin::Demo_Foo
|
||||
{
|
||||
|
||||
class Foo : public zeek::file_analysis::Analyzer {
|
||||
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);
|
||||
static zeek::file_analysis::Analyzer* Instantiate(zeek::RecordValPtr args,
|
||||
zeek::file_analysis::File* file);
|
||||
|
||||
protected:
|
||||
Foo(zeek::RecordValPtr args, zeek::file_analysis::File* file);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,15 +2,16 @@
|
|||
|
||||
#include <zeek/plugin/Plugin.h>
|
||||
|
||||
namespace btest::plugin::Demo_Foo {
|
||||
namespace btest::plugin::Demo_Foo
|
||||
{
|
||||
|
||||
class Plugin : public zeek::plugin::Plugin
|
||||
{
|
||||
{
|
||||
protected:
|
||||
// Overridden from zeek::plugin::Plugin.
|
||||
zeek::plugin::Configuration Configure() override;
|
||||
};
|
||||
};
|
||||
|
||||
extern Plugin plugin;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue