mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 11:08:20 +00:00
Use namespaces for NetVar type pointers.
Enums defined in bifs and records declared in bifs are now available in the C++ layer in namespaces (before they were in the global namespace with enum_* and rectype_* prefixes). Namespaces are now BroTypePtr::Enum::<name-of-enum> and BroTypePtr::Record::<name-of-record>
This commit is contained in:
parent
43a84866a0
commit
9c39abffef
4 changed files with 10 additions and 10 deletions
|
@ -288,7 +288,7 @@ void PortmapperInterp::Event(EventHandlerPtr f, Val* request, int status, Val* r
|
|||
}
|
||||
else
|
||||
{
|
||||
vl->append(new EnumVal(status, enum_rpc_status));
|
||||
vl->append(new EnumVal(status, BroTypePtr::Enum::rpc_status));
|
||||
if ( request )
|
||||
vl->append(request);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue