]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/fstab-util.h
Add SPDX license identifiers to source files under the LGPL
[thirdparty/systemd.git] / src / shared / fstab-util.h
index 872b2363cd500ea36812c5ee6d64886b6910aaff..87f82dcfb4f2a5eea693175b71f7b2af43b1c57e 100644 (file)
@@ -1,5 +1,4 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
+/* SPDX-License-Identifier: LGPL-2.1+ */
 #pragma once
 
 /***
 
 #include <stdbool.h>
 #include <stddef.h>
+
 #include "macro.h"
 
-bool fstab_is_mount_point(const char *mount);
-int fstab_filter_options(const char *opts, const char *names,
-                         const char **namefound, char **value, char **filtered);
+int fstab_is_mount_point(const char *mount);
+int fstab_has_fstype(const char *fstype);
+
+int fstab_filter_options(const char *opts, const char *names, const char **namefound, char **value, char **filtered);
 
 int fstab_extract_values(const char *opts, const char *name, char ***values);
 
@@ -49,3 +50,5 @@ static inline bool fstab_test_yes_no_option(const char *opts, const char *yes_no
 
         return opt == yes_no;
 }
+
+char *fstab_node_to_udev_node(const char *p);