mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38: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
|
@ -747,11 +747,14 @@ public:
|
|||
|
||||
const EnumValPtr& GetEnumVal(bro_int_t i);
|
||||
|
||||
// Only for use by C++-generated code. Non-protected because we
|
||||
// don't know in advance the names of the functions that will
|
||||
// access it.
|
||||
void AddNameInternal(const std::string& full_name, bro_int_t val);
|
||||
|
||||
protected:
|
||||
void AddNameInternal(const std::string& module_name,
|
||||
const char* name, bro_int_t val, bool is_export);
|
||||
|
||||
void AddNameInternal(const std::string& full_name, bro_int_t val);
|
||||
const char* name, bro_int_t val, bool is_export);
|
||||
|
||||
void CheckAndAddName(const std::string& module_name,
|
||||
const char* name, bro_int_t val, bool is_export,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue