aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/message.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-07 11:38:05 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-07 11:49:17 +0000
commita87070a16587cd02f3c1d3f930186a0e957a098a (patch)
treee5cbf8d28cc058c38eceef0b525b010638c6df2d /src/libmime/message.h
parent152f1af776e055b48c0b23754bb1ced6d803b97d (diff)
downloadrspamd-a87070a16587cd02f3c1d3f930186a0e957a098a.tar.gz
rspamd-a87070a16587cd02f3c1d3f930186a0e957a098a.zip
[Fix] Fix parsing of cte in expressions
Diffstat (limited to 'src/libmime/message.h')
-rw-r--r--src/libmime/message.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libmime/message.h b/src/libmime/message.h
index 6004d1759..03e0e8345 100644
--- a/src/libmime/message.h
+++ b/src/libmime/message.h
@@ -163,4 +163,19 @@ GPtrArray *rspamd_message_get_header_from_hash (GHashTable *htb,
const gchar *field,
gboolean strong);
+
+/**
+ * Converts string to cte
+ * @param str
+ * @return
+ */
+enum rspamd_cte rspamd_cte_from_string (const gchar *str);
+
+/**
+ * Converts cte to string
+ * @param ct
+ * @return
+ */
+const gchar* rspamd_cte_to_string (enum rspamd_cte ct);
+
#endif