aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/levenshtein.h
blob: b0fcb6d8a881d88b021cfcd7e1a08805b006ed3d (plain)
1
2
3
4
5
6
7
8
#ifndef __PERF_LEVENSHTEIN_H
#define __PERF_LEVENSHTEIN_H

int levenshtein(const char *string1, const char *string2,
	int swap_penalty, int substition_penalty,
	int insertion_penalty, int deletion_penalty);

#endif /* __PERF_LEVENSHTEIN_H */