Move all plugin classes into zeek::plugin::detail namespaces

This commit is contained in:
Tim Wojtulewicz 2020-08-10 09:37:14 -07:00
parent 106a92a9a8
commit 6b60a20360
63 changed files with 125 additions and 226 deletions

View file

@ -10,7 +10,7 @@
#include "Desc.h"
#include "zlib.h"
namespace zeek::plugin::Zeek_AsciiWriter { class Plugin; }
namespace zeek::plugin::detail::Zeek_AsciiWriter { class Plugin; }
namespace zeek::logging::writer::detail {
@ -37,7 +37,7 @@ protected:
bool DoHeartbeat(double network_time, double current_time) override;
private:
friend class plugin::Zeek_AsciiWriter::Plugin;
friend class zeek::plugin::detail::Zeek_AsciiWriter::Plugin;
static void RotateLeftoverLogs();

View file

@ -5,7 +5,7 @@
#include "Ascii.h"
namespace zeek::plugin::Zeek_AsciiWriter {
namespace zeek::plugin::detail::Zeek_AsciiWriter {
class Plugin : public zeek::plugin::Plugin {
public:
@ -26,4 +26,4 @@ protected:
} plugin;
} // namespace zeek::plugin::Zeek_AsciiWriter
} // namespace zeek::plugin::detail::Zeek_AsciiWriter

View file

@ -5,7 +5,7 @@
#include "None.h"
namespace zeek::plugin::Zeek_NoneWriter {
namespace zeek::plugin::detail::Zeek_NoneWriter {
class Plugin : public zeek::plugin::Plugin {
public:
@ -20,4 +20,4 @@ public:
}
} plugin;
} // namespace zeek::plugin::Zeek_NoneWriter
} // namespace zeek::plugin::detail::Zeek_NoneWriter

View file

@ -5,7 +5,7 @@
#include "SQLite.h"
namespace zeek::plugin::Zeek_SQLiteWriter {
namespace zeek::plugin::detail::Zeek_SQLiteWriter {
class Plugin : public zeek::plugin::Plugin {
public:
@ -20,4 +20,4 @@ public:
}
} plugin;
} // namespace zeek::plugin::Zeek_SQLiteWriter
} // namespace zeek::plugin::detail::Zeek_SQLiteWriter