mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Val: forward-declare class PDict, reduce includes
This commit is contained in:
parent
dfac4572e7
commit
4aac78cf29
6 changed files with 14 additions and 2 deletions
|
@ -3,7 +3,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "Type.h"
|
||||
#include "Dict.h"
|
||||
#include "CompHash.h"
|
||||
#include "BroString.h"
|
||||
#include "Timer.h"
|
||||
|
@ -31,6 +30,9 @@ using std::string;
|
|||
#define UDP_PORT_MASK 0x20000
|
||||
#define ICMP_PORT_MASK 0x30000
|
||||
|
||||
template<typename T> class PDict;
|
||||
class IterCookie;
|
||||
|
||||
class Val;
|
||||
class BroFunc;
|
||||
class Func;
|
||||
|
@ -786,7 +788,7 @@ public:
|
|||
Attributes* Attrs() { return attrs; }
|
||||
|
||||
// Returns the size of the table.
|
||||
int Size() const { return AsTable()->Length(); }
|
||||
int Size() const;
|
||||
int RecursiveSize() const;
|
||||
|
||||
// Returns the Prefix table used inside the table (if present).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue