mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 05:28:20 +00:00
Deprecate all BroType* in BifType:: namespace
Replaced with equivalently named IntrusivePtr in zeek::BifType::
This commit is contained in:
parent
dca587c604
commit
eedeb07550
62 changed files with 287 additions and 283 deletions
|
@ -26,9 +26,9 @@ EnumVal* query_status(bool success);
|
|||
*/
|
||||
inline IntrusivePtr<RecordVal> query_result()
|
||||
{
|
||||
auto rval = make_intrusive<RecordVal>(BifType::Record::Broker::QueryResult);
|
||||
auto rval = make_intrusive<RecordVal>(zeek::BifType::Record::Broker::QueryResult);
|
||||
rval->Assign(0, query_status(false));
|
||||
rval->Assign(1, make_intrusive<RecordVal>(BifType::Record::Broker::Data));
|
||||
rval->Assign(1, make_intrusive<RecordVal>(zeek::BifType::Record::Broker::Data));
|
||||
return rval;
|
||||
}
|
||||
|
||||
|
@ -39,7 +39,7 @@ inline IntrusivePtr<RecordVal> query_result()
|
|||
*/
|
||||
inline IntrusivePtr<RecordVal> query_result(IntrusivePtr<RecordVal> data)
|
||||
{
|
||||
auto rval = make_intrusive<RecordVal>(BifType::Record::Broker::QueryResult);
|
||||
auto rval = make_intrusive<RecordVal>(zeek::BifType::Record::Broker::QueryResult);
|
||||
rval->Assign(0, query_status(true));
|
||||
rval->Assign(1, std::move(data));
|
||||
return rval;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue