aboutsummaryrefslogtreecommitdiffstats
path: root/src/kvstorage_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvstorage_config.h')
-rw-r--r--src/kvstorage_config.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/kvstorage_config.h b/src/kvstorage_config.h
index 567dd18be..ced149c4e 100644
--- a/src/kvstorage_config.h
+++ b/src/kvstorage_config.h
@@ -36,7 +36,10 @@ enum kvstorage_cache_type {
/* Type of kvstorage backend */
enum kvstorage_backend_type {
- KVSTORAGE_TYPE_BACKEND_NULL = 0
+ KVSTORAGE_TYPE_BACKEND_NULL = 0,
+#ifdef WITH_DB
+ KVSTORAGE_TYPE_BACKEND_BDB
+#endif
};
/* Type of kvstorage expire */
@@ -54,6 +57,8 @@ struct kvstorage_cache_config {
/* Backend config */
struct kvstorage_backend_config {
enum kvstorage_backend_type type;
+ gchar *filename;
+ guint sync_ops;
};