Whamcloud - gitweb
LU-9680 net: Netlink improvements
[fs/lustre-release.git] / libcfs / include / libcfs / linux / glob.h
diff --git a/libcfs/include/libcfs/linux/glob.h b/libcfs/include/libcfs/linux/glob.h
new file mode 100644 (file)
index 0000000..fca03b5
--- /dev/null
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _LINUX_GLOB_H
+#define _LINUX_GLOB_H
+
+#ifndef HAVE_GLOB
+
+#include <linux/types.h>       /* For bool */
+#include <linux/compiler.h>    /* For __pure */
+
+bool __pure glob_match(char const *pat, char const *str);
+#endif /* !HAVE_GLOB */
+
+#endif /* _LINUX_GLOB_H */