mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
352 B
C++
26 lines
352 B
C++
#ifndef LLARP_STR_HPP
|
|
#define LLARP_STR_HPP
|
|
|
|
#include <util/string_view.hpp>
|
|
|
|
namespace llarp
|
|
{
|
|
bool
|
|
StrEq(const char *s1, const char *s2);
|
|
|
|
bool
|
|
IsFalseValue(string_view str);
|
|
|
|
struct CaselessCmp
|
|
{
|
|
bool
|
|
operator()(string_view lhs, string_view rhs) const;
|
|
};
|
|
|
|
bool
|
|
IsTrueValue(string_view str);
|
|
|
|
} // namespace llarp
|
|
|
|
#endif
|