diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-10-21 14:51:42 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-10-21 14:51:42 +0100 |
commit | e3abfdcad00b09fae471e9011839f6242126757a (patch) | |
tree | d9c7b0928c551051272a40e8225f74e7554c81d1 /src/libstat/backends/backends.h | |
parent | e4621c415e05593f0cdd83e56cf350dd25215821 (diff) | |
download | rspamd-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.h | 1 |
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); |