aboutsummaryrefslogtreecommitdiffstats
path: root/src/kvstorage.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-01 19:48:08 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-01 19:48:08 +0300
commit7770c0c2ff70150fe33358a461fadf91e01ae23f (patch)
tree74ec845002dbd64b0fafed52e1b228616ffb71dc /src/kvstorage.h
parentd194a7d577985268ff5f7f29379c90d694a8f230 (diff)
downloadrspamd-7770c0c2ff70150fe33358a461fadf91e01ae23f.tar.gz
rspamd-7770c0c2ff70150fe33358a461fadf91e01ae23f.zip
* Add initial support of bdb backend
Diffstat (limited to 'src/kvstorage.h')
-rw-r--r--src/kvstorage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kvstorage.h b/src/kvstorage.h
index 4c2f0ef5c..00ff20e9a 100644
--- a/src/kvstorage.h
+++ b/src/kvstorage.h
@@ -45,7 +45,7 @@ typedef void (*backend_init)(struct rspamd_kv_backend *backend);
typedef gboolean (*backend_insert)(struct rspamd_kv_backend *backend, gpointer key, struct rspamd_kv_element *elt);
typedef gboolean (*backend_replace)(struct rspamd_kv_backend *backend, gpointer key, struct rspamd_kv_element *elt);
typedef struct rspamd_kv_element* (*backend_lookup)(struct rspamd_kv_backend *backend, gpointer key);
-typedef struct rspamd_kv_element* (*backend_delete)(struct rspamd_kv_backend *backend, gpointer key);
+typedef void (*backend_delete)(struct rspamd_kv_backend *backend, gpointer key);
typedef void (*backend_destroy)(struct rspamd_kv_backend *backend);
/* Callbacks for expire */