path-util: add new path_is_valid() helper

This commit is contained in:
Lennart Poettering
2018-10-17 21:13:02 +02:00
parent 3088305166
commit 656552ebb3
2 changed files with 14 additions and 5 deletions
+1
View File
@@ -134,6 +134,7 @@ char* dirname_malloc(const char *path);
const char *last_path_component(const char *path);
bool filename_is_valid(const char *p) _pure_;
bool path_is_valid(const char *p) _pure_;
bool path_is_normalized(const char *p) _pure_;
char *file_in_same_dir(const char *path, const char *filename);