aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/task.h')
-rw-r--r--src/libserver/task.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libserver/task.h b/src/libserver/task.h
index 11862ed53..8a9e913a4 100644
--- a/src/libserver/task.h
+++ b/src/libserver/task.h
@@ -271,4 +271,9 @@ gboolean rspamd_learn_task_spam (struct rspamd_classifier_config *cl,
gboolean is_spam,
GError **err);
+/**
+ * Write log line about the specified task if needed
+ */
+void rspamd_task_write_log (struct rspamd_task *task);
+
#endif /* TASK_H_ */