aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/mime_expressions.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-19 22:07:43 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-19 22:07:43 +0000
commit8d759ade6e383e143b1a5ff1c4f092c7d97addb4 (patch)
treeb86c07521887055fe9b95eb4e8941571824f0bd2 /src/libmime/mime_expressions.h
parenta646d295904209d39ae036c81a07650448ebfa6e (diff)
downloadrspamd-8d759ade6e383e143b1a5ff1c4f092c7d97addb4.tar.gz
rspamd-8d759ade6e383e143b1a5ff1c4f092c7d97addb4.zip
Unify regexp match function.
Diffstat (limited to 'src/libmime/mime_expressions.h')
-rw-r--r--src/libmime/mime_expressions.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/libmime/mime_expressions.h b/src/libmime/mime_expressions.h
index 27050ed19..445bb11b6 100644
--- a/src/libmime/mime_expressions.h
+++ b/src/libmime/mime_expressions.h
@@ -40,24 +40,6 @@ void register_expression_function (const gchar *name,
void *user_data);
/**
- * Add regexp to regexp task cache
- * @param task task object
- * @param pointer regexp data
- * @param result numeric result of this regexp
- */
-void task_cache_add (struct rspamd_task *task,
- struct rspamd_regexp_element *re,
- gint32 result);
-
-/**
- * Check regexp in cache
- * @param task task object
- * @param pointer regexp data
- * @return numeric result if value exists or -1 if not
- */
-gint32 task_cache_check (struct rspamd_task *task, struct rspamd_regexp_element *re);
-
-/**
* Set global limit of regexp data size to be processed
* @param limit new limit in bytes
* @return old limit value