chiark / gitweb /
basic: introduce generic ascii_strlower_n() call and make use of it everywhere
[elogind.git] / src / basic / string-util.h
index 54f9d3058cc5257595e30f2c011943c77be67e0d..8b87c1e23d356e4f3b7d2becf9c9174bc8df3b01 100644 (file)
@@ -128,7 +128,9 @@ char *strstrip(char *s);
 char *delete_chars(char *s, const char *bad);
 char *truncate_nl(char *s);
 
-char *ascii_strlower(char *path);
+char ascii_tolower(char x);
+char *ascii_strlower(char *s);
+char *ascii_strlower_n(char *s, size_t n);
 
 bool chars_intersect(const char *a, const char *b) _pure_;