Remove obsolete ZEEK_FORWARD_DECLARE_NAMESPACED macros

This commit is contained in:
Tim Wojtulewicz 2021-02-01 17:04:58 -07:00
parent 8c4092a0ad
commit 4ad08172d0
121 changed files with 722 additions and 547 deletions

View file

@ -7,9 +7,11 @@
#include "zeek/file_analysis/analyzer/x509/X509Common.h"
ZEEK_FORWARD_DECLARE_NAMESPACED(File, zeek, file_analysis);
namespace zeek::file_analysis {
namespace zeek::file_analysis::detail {
class File;
namespace detail {
class OCSP : public file_analysis::detail::X509Common {
public:
@ -34,4 +36,5 @@ private:
bool request = false; // true if ocsp request, false if reply
};
} // namespace zeek::file_analysis::detail
} // namespace detail
} // namespace zeek::file_analysis

View file

@ -10,18 +10,20 @@
#include "zeek/file_analysis/Analyzer.h"
ZEEK_FORWARD_DECLARE_NAMESPACED(EventHandlerPtr, zeek);
ZEEK_FORWARD_DECLARE_NAMESPACED(Reporter, zeek);
ZEEK_FORWARD_DECLARE_NAMESPACED(StringVal, zeek);
ZEEK_FORWARD_DECLARE_NAMESPACED(File, zeek, file_analysis);
ZEEK_FORWARD_DECLARE_NAMESPACED(Tag, zeek, file_analysis);
namespace zeek {
class EventHandlerPtr;
class Reporter;
class StringVal;
template <class T> class IntrusivePtr;
using StringValPtr = IntrusivePtr<StringVal>;
}
namespace zeek::file_analysis::detail {
namespace file_analysis {
class File;
class Tag;
namespace detail {
class X509Common : public file_analysis::Analyzer {
public:
@ -53,4 +55,6 @@ protected:
virtual void ParseExtensionsSpecific(X509_EXTENSION* ex, bool, ASN1_OBJECT*, const char*) = 0;
};
} // namespace zeek::file_analysis
} // namespace detail
} // namespace file_analysis
} // namespace zeek