summaryrefslogtreecommitdiff
path: root/src/basic/path-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-26 20:07:55 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:56 +0100
commita09561746f15b84da9471b5c4be74e53d19e4f3f (patch)
treee99301f014ab8d150891d936ca061e369f7bae33 /src/basic/path-util.h
parent78f22b973fa2c9b09bd974680836df17163d9ee0 (diff)
util-lib: introduce dirent-util.[ch] for directory entry calls
Also, move a couple of more path-related functions to path-util.c.
Diffstat (limited to 'src/basic/path-util.h')
-rw-r--r--src/basic/path-util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/basic/path-util.h b/src/basic/path-util.h
index b2acca05fe..193bf72468 100644
--- a/src/basic/path-util.h
+++ b/src/basic/path-util.h
@@ -105,3 +105,10 @@ char* dirname_malloc(const char *path);
bool filename_is_valid(const char *p) _pure_;
bool path_is_safe(const char *p) _pure_;
+
+char *file_in_same_dir(const char *path, const char *filename);
+
+bool hidden_file_allow_backup(const char *filename);
+bool hidden_file(const char *filename) _pure_;
+
+bool is_device_path(const char *path);