summaryrefslogtreecommitdiffstats
path: root/include/match.h
diff options
context:
space:
mode:
authorKarel Zak2011-11-15 15:17:19 +0100
committerKarel Zak2011-11-15 15:17:19 +0100
commit12089155210f8d84054cc8413d79cd2800d26929 (patch)
tree77189501ba877049f4e6051b9fd008a57c6fc434 /include/match.h
parentlibblkid: export PTMAGIC also if only PTTYPE requested (diff)
downloadkernel-qcow2-util-linux-12089155210f8d84054cc8413d79cd2800d26929.tar.gz
kernel-qcow2-util-linux-12089155210f8d84054cc8413d79cd2800d26929.tar.xz
kernel-qcow2-util-linux-12089155210f8d84054cc8413d79cd2800d26929.zip
lib,match: split match_fstype() from libmount
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/match.h')
-rw-r--r--include/match.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/match.h b/include/match.h
new file mode 100644
index 000000000..94440c22e
--- /dev/null
+++ b/include/match.h
@@ -0,0 +1,12 @@
+/*
+ * Copyright (C) 2011 Karel Zak <kzak@redhat.com>
+ *
+ * This file may be redistributed under the terms of the
+ * GNU Lesser General Public License.
+ */
+#ifndef UTIL_LINUX_MATCH_H
+#define UTIL_LINUX_MATCH_H
+
+extern int match_fstype(const char *type, const char *pattern);
+
+#endif /* UTIL_LINUX_MATCH_H */