aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/rspamd_control.h
diff options
context:
space:
mode:
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 5e8497a0a..74597a1ac 100644
--- a/src/libserver/rspamd_control.h
+++ b/src/libserver/rspamd_control.h
@@ -35,6 +35,7 @@ enum rspamd_control_type {
RSPAMD_CONTROL_STAT = 0,
RSPAMD_CONTROL_RELOAD,
RSPAMD_CONTROL_RERESOLVE,
+ RSPAMD_CONTROL_RECOMPILE,
RSPAMD_CONTROL_MAX
};
@@ -54,6 +55,9 @@ struct rspamd_control_command {
struct {
guint unused;
} reresolve;
+ struct {
+ guint unused;
+ } recompile;
} cmd;
};
@@ -73,6 +77,9 @@ struct rspamd_control_reply {
struct {
guint status;
} reresolve;
+ struct {
+ guint status;
+ } recompile;
} reply;
};