aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/rspamd_control.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-04 13:42:36 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-04 13:42:36 +0100
commit4bd75d888a4110b3cfa89c8fb33610e6ad95d899 (patch)
tree1faa6e6033ac5bf9faf9a2cb46e6288861b60e93 /src/libserver/rspamd_control.h
parentb0ff4a4833a848c5e7a56b8bc12834fb7059926e (diff)
downloadrspamd-4bd75d888a4110b3cfa89c8fb33610e6ad95d899.tar.gz
rspamd-4bd75d888a4110b3cfa89c8fb33610e6ad95d899.zip
[Feature] Allow to attach file descriptors to control commands
Diffstat (limited to 'src/libserver/rspamd_control.h')
-rw-r--r--src/libserver/rspamd_control.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libserver/rspamd_control.h b/src/libserver/rspamd_control.h
index a0d5fba1b..751b916eb 100644
--- a/src/libserver/rspamd_control.h
+++ b/src/libserver/rspamd_control.h
@@ -126,11 +126,16 @@ struct rspamd_srv_reply {
struct {
gint forced;
} hs_loaded;
+ struct {
+ enum rspamd_log_pipe_type type;
+ } log_pipe;
} reply;
};
typedef gboolean (*rspamd_worker_control_handler) (struct rspamd_main *rspamd_main,
- struct rspamd_worker *worker, gint fd,
+ struct rspamd_worker *worker,
+ gint fd,
+ gint attached_fd,
struct rspamd_control_command *cmd,
gpointer ud);