aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/stat_api.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-06-19 15:25:10 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-06-19 15:25:10 +0100
commit45c538da92ef6482a6e276be8064321c0636aff4 (patch)
tree34f0fb94e604da018dd8fcfb68d119e91c59a881 /src/libstat/stat_api.h
parent37117c9d9884e2293373aea028e33eaaedf4b6a5 (diff)
downloadrspamd-45c538da92ef6482a6e276be8064321c0636aff4.tar.gz
rspamd-45c538da92ef6482a6e276be8064321c0636aff4.zip
Implement statistics closing.
Diffstat (limited to 'src/libstat/stat_api.h')
-rw-r--r--src/libstat/stat_api.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstat/stat_api.h b/src/libstat/stat_api.h
index 48c7c53c6..94734adef 100644
--- a/src/libstat/stat_api.h
+++ b/src/libstat/stat_api.h
@@ -51,6 +51,11 @@ typedef enum rspamd_stat_result_e {
void rspamd_stat_init (struct rspamd_config *cfg);
/**
+ * Finalize statistics
+ */
+void rspamd_stat_close (void);
+
+/**
* Classify the task specified and insert symbols if needed
* @param task
* @return TRUE if task has been classified