mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 17:18:20 +00:00
accessors / friends needed for compiling-to-C++
This commit is contained in:
parent
66fb3e0f56
commit
1ede6a8424
3 changed files with 17 additions and 5 deletions
|
@ -450,10 +450,11 @@ public:
|
|||
// Returns a masked port number
|
||||
static uint32_t Mask(uint32_t port_num, TransportProto port_type);
|
||||
|
||||
protected:
|
||||
friend class ValManager;
|
||||
// Only meant for use by ValManager and compiled-to-C++ script
|
||||
// functions.
|
||||
PortVal(uint32_t p);
|
||||
|
||||
protected:
|
||||
void ValDescribe(ODesc* d) const override;
|
||||
ValPtr DoClone(CloneState* state) override;
|
||||
|
||||
|
@ -1435,6 +1436,8 @@ protected:
|
|||
friend class Val;
|
||||
friend class EnumType;
|
||||
|
||||
friend EnumValPtr make_enum__CPP(TypePtr t, int i);
|
||||
|
||||
template<class T, class... Ts>
|
||||
friend IntrusivePtr<T> make_intrusive(Ts&&... args);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue