summaryrefslogtreecommitdiffstats
path: root/src/libserver/rspamd_symcache.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-24 16:26:12 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-24 16:26:12 +0000
commitf827a09afb7785c97010e7116dc63b61efde6a25 (patch)
treed65f85a4aab45110f230dd6f9911c1344eb19415 /src/libserver/rspamd_symcache.h
parent1c547c7425d9a3a63a3ee471051ad197a642ba46 (diff)
downloadrspamd-f827a09afb7785c97010e7116dc63b61efde6a25.tar.gz
rspamd-f827a09afb7785c97010e7116dc63b61efde6a25.zip
[Project] Add logic to break execution when processing symbols
Diffstat (limited to 'src/libserver/rspamd_symcache.h')
-rw-r--r--src/libserver/rspamd_symcache.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libserver/rspamd_symcache.h b/src/libserver/rspamd_symcache.h
index 0eab043fd..c220b1ccc 100644
--- a/src/libserver/rspamd_symcache.h
+++ b/src/libserver/rspamd_symcache.h
@@ -569,6 +569,11 @@ const GPtrArray* rspamd_symcache_item_get_rdeps (
struct rspamd_symcache_item *item);
+/**
+ * Enable profiling for task (e.g. when a slow rule has been found)
+ * @param task
+ */
+void rspamd_symcache_enable_profile (struct rspamd_task *task);
#ifdef __cplusplus
}
#endif