xref: /OK3568_Linux_fs/kernel/tools/perf/util/levenshtein.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun #ifndef __PERF_LEVENSHTEIN_H
3*4882a593Smuzhiyun #define __PERF_LEVENSHTEIN_H
4*4882a593Smuzhiyun 
5*4882a593Smuzhiyun int levenshtein(const char *string1, const char *string2,
6*4882a593Smuzhiyun 	int swap_penalty, int substition_penalty,
7*4882a593Smuzhiyun 	int insertion_penalty, int deletion_penalty);
8*4882a593Smuzhiyun 
9*4882a593Smuzhiyun #endif /* __PERF_LEVENSHTEIN_H */
10