aboutsummaryrefslogtreecommitdiffstats
path: root/src/worker_private.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-15 16:37:58 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-22 10:57:29 +0100
commit98897c179754fb04762d325c83f1e057b44697a3 (patch)
treed53ea0de2cf2fb2e50cefe5496aa80963f8621f5 /src/worker_private.h
parent36ab21685bbf354108a7f12e1dda36761f655e68 (diff)
downloadrspamd-98897c179754fb04762d325c83f1e057b44697a3.tar.gz
rspamd-98897c179754fb04762d325c83f1e057b44697a3.zip
[Project] First refactoring step libevent->libev
Diffstat (limited to 'src/worker_private.h')
-rw-r--r--src/worker_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/worker_private.h b/src/worker_private.h
index 398c5d23d..35a2b465b 100644
--- a/src/worker_private.h
+++ b/src/worker_private.h
@@ -30,7 +30,7 @@ struct rspamd_lang_detector;
struct rspamd_worker_ctx {
guint64 magic;
/* Events base */
- struct event_base *ev_base;
+ struct ev_loop *ev_base;
/* DNS resolver */
struct rspamd_dns_resolver *resolver;
/* Config */
@@ -57,7 +57,7 @@ struct rspamd_worker_ctx {
* Init scanning routines
*/
void rspamd_worker_init_scanner (struct rspamd_worker *worker,
- struct event_base *ev_base,
+ struct ev_loop *ev_base,
struct rspamd_dns_resolver *resolver,
struct rspamd_lang_detector **plang_det);