aboutsummaryrefslogtreecommitdiffstats
path: root/src/worker.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-02 17:27:51 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-02 17:27:51 +0100
commit906eff799f483b8240f7cd2a1fce78cfe3da5edc (patch)
treec44c95d137e8afabb1f86e1e593b316c0c69ac73 /src/worker.c
parent1f55d8d46959b9661f5c4539cedd8a3ddfc2950a (diff)
downloadrspamd-906eff799f483b8240f7cd2a1fce78cfe3da5edc.tar.gz
rspamd-906eff799f483b8240f7cd2a1fce78cfe3da5edc.zip
[Feature] Initial support of self-scan in Rspamd proxy
Diffstat (limited to 'src/worker.c')
-rw-r--r--src/worker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/worker.c b/src/worker.c
index 724b9ccd2..5bb4b2d61 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -142,7 +142,7 @@ reduce_tasks_count (gpointer arg)
}
}
-static void
+void
rspamd_task_timeout (gint fd, short what, gpointer ud)
{
struct rspamd_task *task = (struct rspamd_task *) ud;
@@ -156,7 +156,7 @@ rspamd_task_timeout (gint fd, short what, gpointer ud)
}
}
-static void
+void
rspamd_worker_guard_handler (gint fd, short what, void *data)
{
struct rspamd_task *task = data;