summaryrefslogtreecommitdiff
path: root/src/match.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/match.h')
-rw-r--r--src/match.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/match.h b/src/match.h
index 0fa7b6f..d4f292c 100644
--- a/src/match.h
+++ b/src/match.h
@@ -7,6 +7,8 @@ typedef double score_t;
#define SCORE_MAX INFINITY
#define SCORE_MIN -INFINITY
+#define MATCH_MAX_LEN 1024
+
int has_match(const char *needle, const char *haystack);
score_t match_positions(const char *needle, const char *haystack, size_t *positions);
score_t match(const char *needle, const char *haystack);