aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/statfile_sync.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/statfile_sync.h')
-rw-r--r--src/libserver/statfile_sync.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/libserver/statfile_sync.h b/src/libserver/statfile_sync.h
new file mode 100644
index 000000000..b3abb8b91
--- /dev/null
+++ b/src/libserver/statfile_sync.h
@@ -0,0 +1,14 @@
+#ifndef RSPAMD_STATFILE_SYNC_H
+#define RSPAMD_STATFILE_SYNC_H
+
+#include "config.h"
+#include "main.h"
+#include "statfile.h"
+#include "cfg_file.h"
+
+/*
+ * Start synchronization of statfiles. Must be called after event_init as it adds events
+ */
+gboolean start_statfile_sync (statfile_pool_t *pool, struct config_file *cfg, struct event_base *ev_base);
+
+#endif