2021-04-28 12:43:51 +08:00
|
|
|
#ifndef AL_STRING_H
|
|
|
|
#define AL_STRING_H
|
|
|
|
|
|
|
|
#include <cstddef>
|
2022-07-14 23:17:11 +08:00
|
|
|
#include <cstring>
|
2021-04-28 12:43:51 +08:00
|
|
|
|
|
|
|
|
|
|
|
namespace al {
|
|
|
|
|
|
|
|
/* These would be better served by using a string_view-like span/view with
|
|
|
|
* case-insensitive char traits.
|
|
|
|
*/
|
|
|
|
int strcasecmp(const char *str0, const char *str1) noexcept;
|
|
|
|
int strncasecmp(const char *str0, const char *str1, std::size_t len) noexcept;
|
|
|
|
|
|
|
|
} // namespace al
|
|
|
|
|
|
|
|
#endif /* AL_STRING_H */
|