aboutsummaryrefslogtreecommitdiffstats
path: root/common/alstring.h
blob: f5127aede293a21e0992a78f1d910fe29502c0eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef AL_STRING_H
#define AL_STRING_H

#include <cstddef>


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 */