mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
Integrate review feedback
* Add deprecation for MIME_Entity::ContentType(), use GetContentType() * Add deprecation for MIME_Entity::ContentSubType(), use GetContentSubType() * Add deprecation for MIME_Message::BuildHeaderVal(), use ToHeaderVal() * Add deprecation for MIME_Message::BuildHeaderTable(), use ToHeaderTable() * Add deprecation for mime::new_string_val(), use mime::to_stringval() * Add deprecation for ARP_Analyzer::ConstructAddrVal(), use ToAddrVal() * Add deprecation for ARP_Analyzer::EthAddrToStr(), use ToEthAddrStr() * Change the Func::Call() replacement to be named Func::Invoke()
This commit is contained in:
parent
82ce64ca70
commit
9c133b9b10
22 changed files with 137 additions and 95 deletions
|
@ -1879,7 +1879,7 @@ IntrusivePtr<Val> TableVal::Default(const IntrusivePtr<Val>& index)
|
|||
|
||||
try
|
||||
{
|
||||
result = f->operator()(&vl);
|
||||
result = f->Invoke(&vl);
|
||||
}
|
||||
|
||||
catch ( InterpreterException& e )
|
||||
|
@ -2088,7 +2088,7 @@ void TableVal::CallChangeFunc(const Val* index,
|
|||
vl.emplace_back(old_value);
|
||||
|
||||
in_change_func = true;
|
||||
f->operator()(&vl);
|
||||
f->Invoke(&vl);
|
||||
}
|
||||
catch ( InterpreterException& e )
|
||||
{
|
||||
|
@ -2546,7 +2546,7 @@ double TableVal::CallExpireFunc(IntrusivePtr<ListVal> idx)
|
|||
vl.emplace_back(std::move(idx));
|
||||
}
|
||||
|
||||
auto result = f->operator()(&vl);
|
||||
auto result = f->Invoke(&vl);
|
||||
|
||||
if ( result )
|
||||
secs = result->AsInterval();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue