aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/rspamd_control.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-12 10:11:55 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-12 10:11:55 +0100
commit3b91533451ae4aa258594f604803d383a92eda3d (patch)
treeae9f0330ddc595476c2082206a363a3af9110aab /src/libserver/rspamd_control.h
parentc2101c8449488946f66f0b272e3506dcb5571e1c (diff)
downloadrspamd-3b91533451ae4aa258594f604803d383a92eda3d.tar.gz
rspamd-3b91533451ae4aa258594f604803d383a92eda3d.zip
Add preliminary support for control protocol client.
Diffstat (limited to 'src/libserver/rspamd_control.h')
-rw-r--r--src/libserver/rspamd_control.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libserver/rspamd_control.h b/src/libserver/rspamd_control.h
index 09143c6f8..711c37267 100644
--- a/src/libserver/rspamd_control.h
+++ b/src/libserver/rspamd_control.h
@@ -78,7 +78,8 @@ void rspamd_control_process_client_socket (struct rspamd_main *rspamd_main,
/**
* Register default handlers for a worker
*/
-void rspamd_control_worker_add_default_handler (struct rspamd_worker *worker);
+void rspamd_control_worker_add_default_handler (struct rspamd_worker *worker,
+ struct event_base *ev_base);
/**
* Register custom handler for a specific control command for this worker