summaryrefslogtreecommitdiff
path: root/src/basic/string-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-26 21:26:33 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:56 +0100
commitf3e2e81d5385b9ffd84ed110d00eb347ec0e14f1 (patch)
tree522c2ad74abd4d6ac5eee6640fe1a31c4f0b42c8 /src/basic/string-util.h
parentf4f15635ec05293ffcc83a5b39f624bbabbd8fd0 (diff)
util: move string_is_safe() to string-util.[ch]
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 7b7c0e5f32..297b8f8232 100644
--- a/src/basic/string-util.h
+++ b/src/basic/string-util.h
@@ -168,3 +168,5 @@ void string_erase(char *x);
char *string_free_erase(char *s);
DEFINE_TRIVIAL_CLEANUP_FUNC(char *, string_free_erase);
#define _cleanup_string_free_erase_ _cleanup_(string_free_erasep)
+
+bool string_is_safe(const char *p) _pure_;