chiark / gitweb /
Allow block and char classes in DeviceAllow bus properties (#4353)
[elogind.git] / src / basic / fs-util.h
index 2c5a65026d522b63b952894900c386f03e1617a5..08d24fd9b0579e484a4ae13e2c51abb57532b926 100644 (file)
@@ -73,6 +73,9 @@ int mkfifo_atomic(const char *path, mode_t mode);
 int get_files_in_directory(const char *path, char ***list);
 
 #if 0 /// UNNEEDED by elogind
+int tmp_dir(const char **ret);
+int var_tmp_dir(const char **ret);
+
 #define INOTIFY_EVENT_MAX (sizeof(struct inotify_event) + NAME_MAX + 1)
 
 #define FOREACH_INOTIFY_EVENT(e, buffer, sz) \
@@ -87,3 +90,5 @@ union inotify_event_buffer {
 
 int inotify_add_watch_fd(int fd, int what, uint32_t mask);
 #endif // 0
+
+int chase_symlinks(const char *path, const char *_root, char **ret);