aboutsummaryrefslogtreecommitdiffstats
path: root/src/kvstorage_file.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-24 17:24:37 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-24 17:24:37 +0300
commit5caf2897f55f821386f4b9196a7ba73df209321d (patch)
tree421cab43f22b2ba363ccf6635ccaa512eb130001 /src/kvstorage_file.h
parent9c775b45468e79bf9885dcb0950b0636e225b9ee (diff)
downloadrspamd-5caf2897f55f821386f4b9196a7ba73df209321d.tar.gz
rspamd-5caf2897f55f821386f4b9196a7ba73df209321d.zip
* Add <fsync> option to turn on explicit fsync for file backend.
Diffstat (limited to 'src/kvstorage_file.h')
-rw-r--r--src/kvstorage_file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kvstorage_file.h b/src/kvstorage_file.h
index fab392894..85713355b 100644
--- a/src/kvstorage_file.h
+++ b/src/kvstorage_file.h
@@ -29,7 +29,7 @@
#include "kvstorage.h"
/* Create new file backend */
-struct rspamd_kv_backend* rspamd_kv_file_new (const gchar *filename, guint sync_ops, guint levels);
+struct rspamd_kv_backend* rspamd_kv_file_new (const gchar *filename, guint sync_ops, guint levels, gboolean do_fsync);
#endif /* KVSTORAGE_FILE_H_ */