mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 19:18:19 +00:00
Rename BroString to zeek::String
This commit is contained in:
parent
a2bc42dd93
commit
736a3f53d4
58 changed files with 346 additions and 339 deletions
|
@ -209,7 +209,7 @@ bool Specific_RE_Matcher::MatchAll(const char* s)
|
|||
return MatchAll((const u_char*)(s), strlen(s));
|
||||
}
|
||||
|
||||
bool Specific_RE_Matcher::MatchAll(const zeek::BroString* s)
|
||||
bool Specific_RE_Matcher::MatchAll(const zeek::String* s)
|
||||
{
|
||||
// s->Len() does not include '\0'.
|
||||
return MatchAll(s->Bytes(), s->Len());
|
||||
|
@ -220,7 +220,7 @@ int Specific_RE_Matcher::Match(const char* s)
|
|||
return Match((const u_char*)(s), strlen(s));
|
||||
}
|
||||
|
||||
int Specific_RE_Matcher::Match(const zeek::BroString* s)
|
||||
int Specific_RE_Matcher::Match(const zeek::String* s)
|
||||
{
|
||||
return Match(s->Bytes(), s->Len());
|
||||
}
|
||||
|
@ -230,7 +230,7 @@ int Specific_RE_Matcher::LongestMatch(const char* s)
|
|||
return LongestMatch((const u_char*)(s), strlen(s));
|
||||
}
|
||||
|
||||
int Specific_RE_Matcher::LongestMatch(const zeek::BroString* s)
|
||||
int Specific_RE_Matcher::LongestMatch(const zeek::String* s)
|
||||
{
|
||||
return LongestMatch(s->Bytes(), s->Len());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue