aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/backends/backends.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-10-21 14:51:42 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-10-21 14:51:42 +0100
commite3abfdcad00b09fae471e9011839f6242126757a (patch)
treed9c7b0928c551051272a40e8225f74e7554c81d1 /src/libstat/backends/backends.h
parente4621c415e05593f0cdd83e56cf350dd25215821 (diff)
downloadrspamd-e3abfdcad00b09fae471e9011839f6242126757a.tar.gz
rspamd-e3abfdcad00b09fae471e9011839f6242126757a.zip
[Minor] Support read only backends for stats
Diffstat (limited to 'src/libstat/backends/backends.h')
-rw-r--r--src/libstat/backends/backends.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstat/backends/backends.h b/src/libstat/backends/backends.h
index 7b61093bb..434377850 100644
--- a/src/libstat/backends/backends.h
+++ b/src/libstat/backends/backends.h
@@ -36,6 +36,7 @@ struct rspamd_task;
struct rspamd_stat_backend {
const char *name;
+ bool read_only;
gpointer (*init) (struct rspamd_stat_ctx *ctx, struct rspamd_config *cfg,
struct rspamd_statfile *st);