aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/rspamd_control.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-14 14:47:46 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-14 14:47:46 +0000
commit830eff6a124fbcfc7d9cedd781b2ae261388503b (patch)
tree61b3ee1c1abe32f9802626bf45c6e434fba06dc0 /src/libserver/rspamd_control.h
parent4f706158bcc0318dc79d7a81ebf1553a8a43b624 (diff)
downloadrspamd-830eff6a124fbcfc7d9cedd781b2ae261388503b.tar.gz
rspamd-830eff6a124fbcfc7d9cedd781b2ae261388503b.zip
Add support for fuzzystat command
Diffstat (limited to 'src/libserver/rspamd_control.h')
-rw-r--r--src/libserver/rspamd_control.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libserver/rspamd_control.h b/src/libserver/rspamd_control.h
index 4ae836925..2f864fd5a 100644
--- a/src/libserver/rspamd_control.h
+++ b/src/libserver/rspamd_control.h
@@ -37,6 +37,7 @@ enum rspamd_control_type {
RSPAMD_CONTROL_RERESOLVE,
RSPAMD_CONTROL_RECOMPILE,
RSPAMD_CONTROL_HYPERSCAN_LOADED,
+ RSPAMD_CONTROL_FUZZY_STAT,
RSPAMD_CONTROL_MAX
};
@@ -63,6 +64,9 @@ struct rspamd_control_command {
struct {
gpointer cache_dir;
} hs_loaded;
+ struct {
+ guint unused;
+ } fuzzy_stat;
} cmd;
};
@@ -88,6 +92,9 @@ struct rspamd_control_reply {
struct {
guint status;
} hs_loaded;
+ struct {
+ guint status;
+ } fuzzy_stat;
} reply;
};