aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/fuzzy_backend.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-12-20 16:47:30 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-12-20 16:47:30 +0000
commita512d4ada24bef10f6c550fcca6599c5bb2003c2 (patch)
treea69285ee89706aa8b6bd59240e7e46374696b6e6 /src/libserver/fuzzy_backend.h
parent084e2e2a3906c0b3302402fcc4a21f1e0baaa618 (diff)
downloadrspamd-a512d4ada24bef10f6c550fcca6599c5bb2003c2.tar.gz
rspamd-a512d4ada24bef10f6c550fcca6599c5bb2003c2.zip
Restore expired/count statistics.
Diffstat (limited to 'src/libserver/fuzzy_backend.h')
-rw-r--r--src/libserver/fuzzy_backend.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libserver/fuzzy_backend.h b/src/libserver/fuzzy_backend.h
index 61664c889..f0a965154 100644
--- a/src/libserver/fuzzy_backend.h
+++ b/src/libserver/fuzzy_backend.h
@@ -74,7 +74,8 @@ gboolean rspamd_fuzzy_backend_del (
* @param backend
* @return
*/
-gboolean rspamd_fuzzy_backend_sync (struct rspamd_fuzzy_backend *backend);
+gboolean rspamd_fuzzy_backend_sync (struct rspamd_fuzzy_backend *backend,
+ gint64 expire);
/**
* Close storage
@@ -82,4 +83,7 @@ gboolean rspamd_fuzzy_backend_sync (struct rspamd_fuzzy_backend *backend);
*/
void rspamd_fuzzy_backend_close (struct rspamd_fuzzy_backend *backend);
+gsize rspamd_fuzzy_backend_count (struct rspamd_fuzzy_backend *backend);
+gsize rspamd_fuzzy_backend_expired (struct rspamd_fuzzy_backend *backend);
+
#endif /* FUZZY_BACKEND_H_ */