mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
Move everything in util.h to zeek::util namespace.
This commit includes renaming a number of methods prefixed with bro_ to be prefixed with zeek_.
This commit is contained in:
parent
8862b585fa
commit
8d2d867a65
179 changed files with 1277 additions and 1033 deletions
|
@ -487,7 +487,7 @@ function subst_string%(s: string, from: string, to: string%): string
|
|||
|
||||
while ( big_len >= little_len )
|
||||
{
|
||||
int j = strstr_n(big_len, big, little_len, from->Bytes());
|
||||
int j = zeek::util::strstr_n(big_len, big, little_len, from->Bytes());
|
||||
|
||||
if ( j < 0 )
|
||||
break;
|
||||
|
@ -688,7 +688,7 @@ function str_smith_waterman%(s1: string, s2: string, params: sw_params%) : sw_su
|
|||
|
||||
auto* subseq = zeek::detail::smith_waterman(s1->AsString(), s2->AsString(), sw_params);
|
||||
auto result = zeek::VectorValPtr{zeek::AdoptRef{}, zeek::detail::Substring::VecToPolicy(subseq)};
|
||||
delete_each(subseq);
|
||||
zeek::util::delete_each(subseq);
|
||||
delete subseq;
|
||||
|
||||
return result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue