diff options
author | Phil Jones <philj56@gmail.com> | 2022-08-12 23:14:32 +0100 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2022-08-12 23:14:32 +0100 |
commit | 8e45592c5703451563eaf4edcd7033f80ce23b53 (patch) | |
tree | 3af3dcc6d84464ba0009ab6c5fdd7bea3fde4408 /src/fuzzy_match.h | |
parent | 64dfe36d347a2b329d8c0b6baa3ff782e66f0233 (diff) |
Add --fuzzy_match option.
This enables some simple fuzzy matching logic for searches.
Diffstat (limited to 'src/fuzzy_match.h')
-rw-r--r-- | src/fuzzy_match.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fuzzy_match.h b/src/fuzzy_match.h new file mode 100644 index 0000000..df4d298 --- /dev/null +++ b/src/fuzzy_match.h @@ -0,0 +1,8 @@ +#ifndef FUZZY_MATCH_H +#define FUZZY_MATCH_H + +#include <stdint.h> + +int32_t fuzzy_match(const char *restrict pattern, const char *restrict str); + +#endif /* FUZZY_MATCH_H */ |