aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/diff.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/diff.h')
-rw-r--r--src/libutil/diff.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/diff.h b/src/libutil/diff.h
index 7caa35dd8..d20ac8e1f 100644
--- a/src/libutil/diff.h
+++ b/src/libutil/diff.h
@@ -69,13 +69,13 @@ gint rspamd_diff (const void *a,
* Calculate distance between two strings (in percentage) using diff algorithm.
* @return 100 in case of identical strings and 0 in case of totally different strings.
*/
-guint32 compare_diff_distance (f_str_t *s1, f_str_t *s2);
+guint32 rspamd_diff_distance (rspamd_fstring_t *s1, rspamd_fstring_t *s2);
/*
* Calculate distance between two strings (in percentage) using diff algorithm. Strings are normalized before:
* all spaces are removed and all characters are lowercased.
* @return 100 in case of identical strings and 0 in case of totally different strings.
*/
-guint32 compare_diff_distance_normalized (f_str_t *s1, f_str_t *s2);
+guint32 rspamd_diff_distance_normalized (rspamd_fstring_t *s1, rspamd_fstring_t *s2);
#endif /* DIFF_H_ */