util: add creds-util.[ch] with helpers for dealing with credentials

This commit is contained in:
Lennart Poettering
2021-03-26 12:19:31 +01:00
parent b240c08d09
commit 786d19fd1b
9 changed files with 79 additions and 15 deletions
-2
View File
@@ -183,5 +183,3 @@ static inline const char *empty_to_root(const char *path) {
bool path_strv_contains(char **l, const char *path);
bool prefixed_path_strv_contains(char **l, const char *path);
bool credential_name_valid(const char *s);