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_file.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_file.h')
-rw-r--r-- | src/kvstorage_file.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kvstorage_file.h b/src/kvstorage_file.h index 85713355b..2b4c0f33d 100644 --- a/src/kvstorage_file.h +++ b/src/kvstorage_file.h @@ -29,7 +29,8 @@ #include "kvstorage.h" /* Create new file backend */ -struct rspamd_kv_backend* rspamd_kv_file_new (const gchar *filename, guint sync_ops, guint levels, gboolean do_fsync); +struct rspamd_kv_backend* rspamd_kv_file_new (const gchar *filename, guint sync_ops, + guint levels, gboolean do_fsync, gboolean do_ref); #endif /* KVSTORAGE_FILE_H_ */ |