summaryrefslogtreecommitdiffstats
path: root/src/fstring.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-07-13 19:39:37 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-07-13 19:39:37 +0400
commitb0ddff4f0d56a877305649a14b902b3f23140b4b (patch)
tree65a2066d13b480b062b20036280d18321fb91e94 /src/fstring.h
parent091e84951a2b032bb2930b300ffe43eaf01a304e (diff)
downloadrspamd-b0ddff4f0d56a877305649a14b902b3f23140b4b.tar.gz
rspamd-b0ddff4f0d56a877305649a14b902b3f23140b4b.zip
* Add new algorithm based on diff algorithm to compare relatively short text parts
Diffstat (limited to 'src/fstring.h')
-rw-r--r--src/fstring.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fstring.h b/src/fstring.h
index eb32dc285..566cbdc32 100644
--- a/src/fstring.h
+++ b/src/fstring.h
@@ -69,6 +69,11 @@ size_t fstrcat (f_str_t *dest, f_str_t *src);
gint fstrpush (f_str_t *dest, gchar c);
/*
+ * Push one character to fstr
+ */
+gint fstrpush_unichar (f_str_t *dest, gunichar c);
+
+/*
* Allocate memory for f_str_t
*/
f_str_t* fstralloc (memory_pool_t *pool, size_t len);