diff options
Diffstat (limited to 'include/misspell.h')
-rw-r--r-- | include/misspell.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/misspell.h b/include/misspell.h new file mode 100644 index 0000000..ba01e74 --- /dev/null +++ b/include/misspell.h @@ -0,0 +1,13 @@ +#ifndef _MISSPELL_H_ +#define _MISSPELL_H_ + +struct string_misspell_state { + unsigned int min_distance; + void *obj; +}; + +void string_misspell_init(struct string_misspell_state *st); +int string_misspell_update(const char *a, const char *b, + void *obj, struct string_misspell_state *st); + +#endif |