aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-03-11 12:40:03 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-03-11 12:40:03 +0000
commitd17fe6bfce3ff90d38ae641715d07a68ab171be6 (patch)
tree98bfd21fffa05317adef9c55f1b2fefe9412743f /src/libserver/task.h
parentef7953c47d971e4872655e146dc5c3742079021d (diff)
downloadrspamd-d17fe6bfce3ff90d38ae641715d07a68ab171be6.tar.gz
rspamd-d17fe6bfce3ff90d38ae641715d07a68ab171be6.zip
[Minor] Print failed stage when showing stat error
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 684f5c2c0..b97f91eb4 100644
--- a/src/libserver/task.h
+++ b/src/libserver/task.h
@@ -357,4 +357,11 @@ gdouble* rspamd_task_profile_get (struct rspamd_task *task, const gchar *key);
*/
gboolean rspamd_task_set_finish_time (struct rspamd_task *task);
+/**
+ * Returns task processing stage name
+ * @param stg
+ * @return
+ */
+const gchar *rspamd_task_stage_name (enum rspamd_task_stage stg);
+
#endif /* TASK_H_ */