aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/levenshtein.h
blob: 0173abeef52c8dc3930a5c36420ff073ba8ddc87 (plain)
1
2
3
4
5
6
7
8
#ifndef LEVENSHTEIN_H
#define LEVENSHTEIN_H

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

#endif