summaryrefslogtreecommitdiff
path: root/match.h
diff options
context:
space:
mode:
Diffstat (limited to 'match.h')
-rw-r--r--match.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/match.h b/match.h
new file mode 100644
index 0000000..b6d19b1
--- /dev/null
+++ b/match.h
@@ -0,0 +1,8 @@
+#ifndef MATCH_H
+#define MATCH_H MATCH_H
+
+int has_match(const char *needle, const char *haystack);
+double match_positions(const char *needle, const char *haystack, size_t *positions);
+double match(const char *needle, const char *haystack);
+
+#endif