mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Remove obsolete ZEEK_FORWARD_DECLARE_NAMESPACED macros
This commit is contained in:
parent
8c4092a0ad
commit
4ad08172d0
121 changed files with 722 additions and 547 deletions
|
@ -6,11 +6,11 @@
|
|||
#include "zeek/plugin/Component.h"
|
||||
#include "zeek/plugin/TaggedComponent.h"
|
||||
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(WriterFrontend, zeek, logging);
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(WriterBackend, zeek, logging);
|
||||
|
||||
namespace zeek::logging {
|
||||
|
||||
class WriterFrontend;
|
||||
class WriterBackend;
|
||||
|
||||
/**
|
||||
* Component description for plugins providing log writers.
|
||||
*/
|
||||
|
|
|
@ -15,14 +15,15 @@
|
|||
#include "zeek/logging/WriterBackend.h"
|
||||
|
||||
namespace broker { struct endpoint_info; }
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(SerializationFormat, zeek::detail);
|
||||
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(WriterFrontend, zeek, logging);
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(RotationFinishedMessage, zeek, logging);
|
||||
|
||||
namespace zeek {
|
||||
|
||||
namespace detail { class SerializationFormat; }
|
||||
|
||||
namespace logging {
|
||||
|
||||
class WriterFrontend;
|
||||
class RotationFinishedMessage;
|
||||
class RotationTimer;
|
||||
|
||||
/**
|
||||
|
|
|
@ -5,17 +5,21 @@
|
|||
#include "zeek/zeek-config.h"
|
||||
#include "zeek/Tag.h"
|
||||
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(EnumVal, zeek);
|
||||
namespace zeek {
|
||||
|
||||
namespace zeek::plugin {
|
||||
template <class T> class TaggedComponent;
|
||||
template <class T, class C> class ComponentManager;
|
||||
}
|
||||
class EnumVal;
|
||||
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(Manager, zeek, logging);
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(Component, zeek, logging);
|
||||
namespace plugin {
|
||||
|
||||
namespace zeek::logging {
|
||||
template <class T> class TaggedComponent;
|
||||
template <class T, class C> class ComponentManager;
|
||||
|
||||
} // namespace plugin
|
||||
|
||||
namespace logging {
|
||||
|
||||
class Manager;
|
||||
class Component;
|
||||
|
||||
/**
|
||||
* Class to identify a writer type.
|
||||
|
@ -114,4 +118,5 @@ protected:
|
|||
explicit Tag(EnumValPtr val);
|
||||
};
|
||||
|
||||
} // namespace zeek::logging
|
||||
} // namespace logging
|
||||
} // namespace zeek
|
||||
|
|
|
@ -9,10 +9,10 @@
|
|||
|
||||
namespace broker { class data; }
|
||||
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(WriterFrontend, zeek, logging);
|
||||
|
||||
namespace zeek::logging {
|
||||
|
||||
class WriterFrontend;
|
||||
|
||||
/**
|
||||
* Base class for writer implementation. When the logging::Manager creates a
|
||||
* new logging filter, it instantiates a WriterFrontend. That then in turn
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
|
||||
#include "zeek/logging/WriterBackend.h"
|
||||
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(Manager, zeek, logging);
|
||||
|
||||
namespace zeek::logging {
|
||||
|
||||
class Manager;
|
||||
|
||||
/**
|
||||
* Bridge class between the logging::Manager and backend writer threads. The
|
||||
* Manager instantiates one \a WriterFrontend for each open logging filter.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue