chiark / gitweb /
headers: check that __INCLUDE_LEVEL__ is defined before using it (#5575)
[elogind.git] / src / basic / mount-util.h
index d538ea9533ac59b0906efec374d27c0c40cb69ae..32770d68c4dbb10e9ded645936533656a31eff68 100644 (file)
@@ -30,7 +30,7 @@
 #include "missing.h"
 
 int fd_is_mount_point(int fd, const char *filename, int flags);
-int path_is_mount_point(const char *path, int flags);
+int path_is_mount_point(const char *path, const char *root, int flags);
 
 #if 0 /// UNNEEDED by elogind
 int repeat_unmount(const char *path, int flags);
@@ -66,4 +66,7 @@ int mount_verbose(
                 unsigned long flags,
                 const char *options);
 int umount_verbose(const char *where);
+
+const char *mount_propagation_flags_to_string(unsigned long flags);
+int mount_propagation_flags_from_string(const char *name, unsigned long *ret);
 #endif // 0