summaryrefslogtreecommitdiffstats
path: root/include/misspell.h
blob: ba01e74172205c19647e4d971c17fa4dbc7b8aab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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