summaryrefslogtreecommitdiff
path: root/src/basic/string-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-13 02:21:16 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-13 20:21:56 +0100
commit522d85ae0a3dd80ec58033289c4f63ba7dfc63a8 (patch)
treee2e4e703a14d0b27af3443415eec8b91cefb461a /src/basic/string-util.h
parent4b2e9cfcf0dffec9d990000ee1555e49a9049246 (diff)
basic: add new ascii_strcasecmp_n() call
Diffstat (limited to 'src/basic/string-util.h')
-rw-r--r--src/basic/string-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/string-util.h b/src/basic/string-util.h
index 1ac6bcd6f8..6374e11119 100644
--- a/src/basic/string-util.h
+++ b/src/basic/string-util.h
@@ -134,6 +134,8 @@ char ascii_tolower(char x);
char *ascii_strlower(char *s);
char *ascii_strlower_n(char *s, size_t n);
+int ascii_strcasecmp_n(const char *a, const char *b, size_t n);
+
bool chars_intersect(const char *a, const char *b) _pure_;
static inline bool _pure_ in_charset(const char *s, const char* charset) {