aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-22 15:18:49 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-22 15:32:33 +0000
commit8807b9d2a9ff9b4d9a200aec60221d6f0951f9c1 (patch)
treee7b1af385772689a424d04a2bdcfe4010b6ab5ff /src/libserver/task.h
parentc9e0716e3e736c22a966a954ba2429eebda96a0a (diff)
downloadrspamd-8807b9d2a9ff9b4d9a200aec60221d6f0951f9c1.tar.gz
rspamd-8807b9d2a9ff9b4d9a200aec60221d6f0951f9c1.zip
[Fix] Fix scan time set
Diffstat (limited to 'src/libserver/task.h')
-rw-r--r--src/libserver/task.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libserver/task.h b/src/libserver/task.h
index 3055c5654..b6ff27990 100644
--- a/src/libserver/task.h
+++ b/src/libserver/task.h
@@ -347,4 +347,11 @@ void rspamd_task_profile_set (struct rspamd_task *task, const gchar *key,
*/
gdouble* rspamd_task_profile_get (struct rspamd_task *task, const gchar *key);
+/**
+ * Sets finishing time for a task if not yet set
+ * @param task
+ * @return
+ */
+gboolean rspamd_task_set_finish_time (struct rspamd_task *task);
+
#endif /* TASK_H_ */