mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +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,9 +4,11 @@
|
|||
#include <Val.h>
|
||||
#include <iosource/PktSrc.h>
|
||||
|
||||
namespace btest::plugin::Demo_Foo {
|
||||
namespace btest::plugin::Demo_Foo
|
||||
{
|
||||
|
||||
class Foo : public zeek::iosource::PktSrc {
|
||||
class Foo : public zeek::iosource::PktSrc
|
||||
{
|
||||
public:
|
||||
Foo(const std::string& path, bool is_live);
|
||||
|
||||
|
@ -24,6 +26,6 @@ protected:
|
|||
private:
|
||||
Properties props;
|
||||
std::string packet;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,15 +3,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