diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-11-01 19:48:08 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-11-01 19:48:08 +0300 |
commit | 7770c0c2ff70150fe33358a461fadf91e01ae23f (patch) | |
tree | 74ec845002dbd64b0fafed52e1b228616ffb71dc /src/kvstorage_config.h | |
parent | d194a7d577985268ff5f7f29379c90d694a8f230 (diff) | |
download | rspamd-7770c0c2ff70150fe33358a461fadf91e01ae23f.tar.gz rspamd-7770c0c2ff70150fe33358a461fadf91e01ae23f.zip |
* Add initial support of bdb backend
Diffstat (limited to 'src/kvstorage_config.h')
-rw-r--r-- | src/kvstorage_config.h | 7 |
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; }; |