Reformat the world

This commit is contained in:
Tim Wojtulewicz 2021-09-16 15:35:39 -07:00
parent 194cb24547
commit b2f171ec69
714 changed files with 35149 additions and 35203 deletions

View file

@ -2,19 +2,23 @@
#pragma once
#include "zeek/zeek-config.h"
#include <string>
namespace zeek {
#include "zeek/zeek-config.h"
namespace zeek
{
class Packet;
namespace iosource {
namespace iosource
{
/**
* Base class for packet dumpers.
*/
class PktDumper {
class PktDumper
{
public:
/**
* Constructor.
@ -92,10 +96,11 @@ protected:
* Structure to pass back information about the packet dumper to the
* base class. Derived class pass an instance of this to \a Opened().
*/
struct Properties {
struct Properties
{
std::string path;
double open_time;
};
};
/**
* Called from the implementations of \a Open() to signal that the
@ -133,7 +138,7 @@ private:
Properties props;
std::string errmsg;
};
};
} // namespace iosource
} // namespace zeek
} // namespace iosource
} // namespace zeek