mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +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
|
@ -1,15 +1,16 @@
|
|||
#ifndef ANALYZER_PROTOCOL_FOO_FOO_H
|
||||
#define ANALYZER_PROTOCOL_FOO_FOO_H
|
||||
|
||||
#include "foo.bif.h"
|
||||
|
||||
#include "zeek/analyzer/protocol/tcp/TCP.h"
|
||||
|
||||
#include "foo.bif.h"
|
||||
#include "foo_pac.h"
|
||||
|
||||
namespace btest::analyzer::FOO {
|
||||
namespace btest::analyzer::FOO
|
||||
{
|
||||
|
||||
class FOO_Analyzer : public zeek::analyzer::tcp::TCP_ApplicationAnalyzer {
|
||||
class FOO_Analyzer : public zeek::analyzer::tcp::TCP_ApplicationAnalyzer
|
||||
{
|
||||
public:
|
||||
FOO_Analyzer(zeek::Connection* conn);
|
||||
virtual ~FOO_Analyzer();
|
||||
|
@ -24,14 +25,15 @@ public:
|
|||
virtual void EndpointEOF(bool is_orig);
|
||||
|
||||
static zeek::analyzer::Analyzer* InstantiateAnalyzer(zeek::Connection* conn)
|
||||
{ return new FOO_Analyzer(conn); }
|
||||
{
|
||||
return new FOO_Analyzer(conn);
|
||||
}
|
||||
|
||||
protected:
|
||||
binpac::FOO::FOO_Conn* interp;
|
||||
bool had_gap;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
} // namespace btest::analyzer::FOO
|
||||
} // namespace btest::analyzer::FOO
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue