aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-06 13:26:28 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-06 13:26:28 +0000
commit1b34354919b33ae45d65fe82efca0090b34114f2 (patch)
treea4dc1c1c4b995a3365d5d410480ad183cc3704c4 /src/libserver/task.h
parent86cbc23ee5a3503ce6989bbce2117aad96c050f8 (diff)
downloadrspamd-1b34354919b33ae45d65fe82efca0090b34114f2.tar.gz
rspamd-1b34354919b33ae45d65fe82efca0090b34114f2.zip
Start implementation of flexible task logging
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_ */