mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 17:18:20 +00:00
Run clang-format on all of our plugin test c++ files
This commit is contained in:
parent
b59bfe5558
commit
dc65b6248c
29 changed files with 400 additions and 336 deletions
|
@ -1,14 +1,17 @@
|
|||
|
||||
#include "Plugin.h"
|
||||
|
||||
#include <Func.h>
|
||||
#include <Event.h>
|
||||
#include <Conn.h>
|
||||
#include <Desc.h>
|
||||
#include <threading/Formatter.h>
|
||||
#include <Event.h>
|
||||
#include <Func.h>
|
||||
#include <RunState.h>
|
||||
#include <threading/Formatter.h>
|
||||
|
||||
namespace btest::plugin::Demo_Unprocessed_Packet { Plugin plugin; }
|
||||
namespace btest::plugin::Demo_Unprocessed_Packet
|
||||
{
|
||||
Plugin plugin;
|
||||
}
|
||||
|
||||
using namespace btest::plugin::Demo_Unprocessed_Packet;
|
||||
|
||||
|
@ -35,5 +38,6 @@ void Plugin::HookUnprocessedPacket(const zeek::Packet* packet)
|
|||
d.Add(packet->len);
|
||||
d.Add("]");
|
||||
|
||||
fprintf(stdout, "%.6f %-23s %s\n", zeek::run_state::network_time, "| HookUnprocessedPacket", d.Description());
|
||||
fprintf(stdout, "%.6f %-23s %s\n", zeek::run_state::network_time, "| HookUnprocessedPacket",
|
||||
d.Description());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue