mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Reformat the world
This commit is contained in:
parent
194cb24547
commit
b2f171ec69
714 changed files with 35149 additions and 35203 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue