mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Add starts_with()/ends_with() to zeek::util namespace
This commit is contained in:
parent
b8ec65ccf7
commit
9ced370b48
2 changed files with 32 additions and 30 deletions
|
@ -311,6 +311,8 @@ std::vector<std::string_view> tokenize_string(std::string_view input, const char
|
|||
|
||||
extern char* copy_string(const char* s);
|
||||
extern int streq(const char* s1, const char* s2);
|
||||
extern bool starts_with(std::string_view s, std::string_view beginning);
|
||||
extern bool ends_with(std::string_view s, std::string_view ending);
|
||||
|
||||
extern char* skip_whitespace(char* s);
|
||||
extern const char* skip_whitespace(const char* s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue