aboutsummaryrefslogtreecommitdiffstats
path: root/src/kvstorage_config.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-02 17:49:09 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-02 17:49:09 +0300
commitf678526b2089826fba0299c88b9258bc48f748c4 (patch)
treeb74c641d73e660bb9a6147335a646a468cb54d06 /src/kvstorage_config.h
parentb50b716c78c39249e15b92132e2ee9d75639be17 (diff)
downloadrspamd-f678526b2089826fba0299c88b9258bc48f748c4.tar.gz
rspamd-f678526b2089826fba0299c88b9258bc48f748c4.zip
* Implement sqlite3 backend for kvstorage.
Diffstat (limited to 'src/kvstorage_config.h')
-rw-r--r--src/kvstorage_config.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/kvstorage_config.h b/src/kvstorage_config.h
index b6f980b94..7a3553f00 100644
--- a/src/kvstorage_config.h
+++ b/src/kvstorage_config.h
@@ -38,8 +38,12 @@ enum kvstorage_cache_type {
enum kvstorage_backend_type {
KVSTORAGE_TYPE_BACKEND_NULL = 0,
#ifdef WITH_DB
- KVSTORAGE_TYPE_BACKEND_BDB
+ KVSTORAGE_TYPE_BACKEND_BDB,
#endif
+#ifdef WITH_SQLITE
+ KVSTORAGE_TYPE_BACKEND_SQLITE,
+#endif
+ KVSTORAGE_TYPE_BACKEND_MAX = 255
};
/* Type of kvstorage expire */