aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/worker_util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-25 15:16:04 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-25 15:16:04 +0000
commite0b4ba6307bcb324e380b4420f1a49bcc1ef764f (patch)
treedad7964b9f044bc7598fb6f9b9d4064308f50587 /src/libserver/worker_util.h
parent6141a5694842f6ba9588eae5cc7cddb10830b9e6 (diff)
downloadrspamd-e0b4ba6307bcb324e380b4420f1a49bcc1ef764f.tar.gz
rspamd-e0b4ba6307bcb324e380b4420f1a49bcc1ef764f.zip
Implement listening for srv pipe in the main process
Diffstat (limited to 'src/libserver/worker_util.h')
-rw-r--r--src/libserver/worker_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/worker_util.h b/src/libserver/worker_util.h
index 837e6ac33..276fb64ce 100644
--- a/src/libserver/worker_util.h
+++ b/src/libserver/worker_util.h
@@ -133,7 +133,7 @@ void rspamd_worker_block_signals (void);
* Fork new worker with the specified configuration
*/
struct rspamd_worker *rspamd_fork_worker (struct rspamd_main *,
- struct rspamd_worker_conf *, guint);
+ struct rspamd_worker_conf *, guint idx, struct event_base *ev_base);
#define msg_err_main(...) rspamd_default_log_function (G_LOG_LEVEL_CRITICAL, \
rspamd_main->server_pool->tag.tagname, rspamd_main->server_pool->tag.uid, \