diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-12-01 18:32:42 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-12-01 18:32:42 +0300 |
commit | dfc4c4b7b555ef549d913c067faea119211e2487 (patch) | |
tree | a2f4637f1e1d98c81d394c949e42b94ca6138ed4 /src/kvstorage_config.h | |
parent | a82935802cfcb329ff0ed70a34cc3557d69779ca (diff) | |
download | rspamd-dfc4c4b7b555ef549d913c067faea119211e2487.tar.gz rspamd-dfc4c4b7b555ef549d913c067faea119211e2487.zip |
* Add <no_overwrite> flag for keystorage preventing from overwriting keys (works for cryptographic keys).
* Add <ref> flag for file backend that enables reference count for items in this backend.
Diffstat (limited to 'src/kvstorage_config.h')
-rw-r--r-- | src/kvstorage_config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kvstorage_config.h b/src/kvstorage_config.h index bd78b5a4a..095ae3ab2 100644 --- a/src/kvstorage_config.h +++ b/src/kvstorage_config.h @@ -60,6 +60,7 @@ enum kvstorage_expire_type { struct kvstorage_cache_config { gsize max_elements; gsize max_memory; + gboolean no_overwrite; enum kvstorage_cache_type type; }; @@ -69,6 +70,7 @@ struct kvstorage_backend_config { gchar *filename; guint sync_ops; gboolean do_fsync; + gboolean do_ref; }; |