mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
Remove IPAddr.h from Reporter.h
This commit is contained in:
parent
ea3c679101
commit
c558d771e4
14 changed files with 27 additions and 6 deletions
|
@ -12,7 +12,7 @@
|
|||
#include "Reporter.h"
|
||||
#include "Scope.h"
|
||||
#include "ID.h"
|
||||
|
||||
#include "IPAddr.h"
|
||||
|
||||
AnonymizeIPAddr* ip_anonymizer[NUM_ADDR_ANONYMIZATION_METHODS] = {nullptr};
|
||||
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
#include "zeek-config.h"
|
||||
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
#include "CompHash.h"
|
||||
#include "BroString.h"
|
||||
#include "Dict.h"
|
||||
|
@ -9,9 +12,7 @@
|
|||
#include "RE.h"
|
||||
#include "Reporter.h"
|
||||
#include "Func.h"
|
||||
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include "IPAddr.h"
|
||||
|
||||
CompositeHash::CompositeHash(IntrusivePtr<TypeList> composite_type)
|
||||
: type(std::move(composite_type))
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include "File.h"
|
||||
#include "Reporter.h"
|
||||
#include "ConvertUTF.h"
|
||||
#include "IPAddr.h"
|
||||
|
||||
#define DEFAULT_SIZE 128
|
||||
#define SLOP 10
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include <memory>
|
||||
|
||||
#include "threading/SerialTypes.h"
|
||||
#include "IPAddr.h"
|
||||
|
||||
struct ConnID;
|
||||
class BroString;
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include <unordered_set>
|
||||
#include <unordered_map>
|
||||
|
||||
#include "IPAddr.h"
|
||||
#include "BroList.h"
|
||||
|
||||
namespace analyzer { class Analyzer; }
|
||||
namespace file_analysis { class File; }
|
||||
|
@ -35,6 +35,9 @@ protected:
|
|||
InterpreterException() {}
|
||||
};
|
||||
|
||||
class IPAddr;
|
||||
class Expr;
|
||||
|
||||
#define FMT_ATTR __attribute__((format(printf, 2, 3))) // sic! 1st is "this" I guess.
|
||||
|
||||
class Reporter {
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include "Reporter.h"
|
||||
#include "module_util.h"
|
||||
#include "Var.h"
|
||||
#include "IPAddr.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "DebugLogger.h"
|
||||
#include "Reporter.h"
|
||||
#include "net_util.h"
|
||||
#include "IPAddr.h"
|
||||
|
||||
const float SerializationFormat::GROWTH_FACTOR = 2.5;
|
||||
|
||||
|
@ -435,4 +436,3 @@ bool BinarySerializationFormat::Write(const char* buf, int len, const char* tag)
|
|||
uint32_t l = htonl(len);
|
||||
return WriteData(&l, sizeof(l)) && WriteData(buf, len);
|
||||
}
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "Reporter.h"
|
||||
#include "analyzer/Analyzer.h"
|
||||
|
||||
class TableVal;
|
||||
class StringVal;
|
||||
class Base64Converter;
|
||||
|
||||
|
|
|
@ -10,6 +10,11 @@ class IntrusivePtr;
|
|||
|
||||
class ODesc;
|
||||
|
||||
namespace threading {
|
||||
struct Value;
|
||||
struct Field;
|
||||
}
|
||||
|
||||
namespace bro_broker {
|
||||
|
||||
extern IntrusivePtr<OpaqueType> opaque_of_data_type;
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
class Frame;
|
||||
class Func;
|
||||
class VectorType;
|
||||
|
||||
namespace bro_broker {
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include "NetVar.h"
|
||||
#include "iosource/Manager.h"
|
||||
#include "Event.h"
|
||||
#include "IPAddr.h"
|
||||
|
||||
using namespace threading;
|
||||
|
||||
|
|
|
@ -8,11 +8,15 @@
|
|||
#include "iosource/IOSource.h"
|
||||
#include "Flare.h"
|
||||
|
||||
class BroObj;
|
||||
|
||||
namespace threading {
|
||||
|
||||
class BasicInputMessage;
|
||||
class BasicOutputMessage;
|
||||
class HeartbeatMessage;
|
||||
struct Value;
|
||||
struct Field;
|
||||
|
||||
/**
|
||||
* A specialized thread that provides bi-directional message passing between
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include "ID.h"
|
||||
#include "Expr.h"
|
||||
#include "Scope.h"
|
||||
#include "IPAddr.h"
|
||||
|
||||
using namespace threading;
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
#include "Reporter.h"
|
||||
#include "Desc.h"
|
||||
#include "Type.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace zeekygen;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue