diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-06-15 16:37:58 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-06-22 10:57:29 +0100 |
commit | 98897c179754fb04762d325c83f1e057b44697a3 (patch) | |
tree | d53ea0de2cf2fb2e50cefe5496aa80963f8621f5 /src/rspamd.h | |
parent | 36ab21685bbf354108a7f12e1dda36761f655e68 (diff) | |
download | rspamd-98897c179754fb04762d325c83f1e057b44697a3.tar.gz rspamd-98897c179754fb04762d325c83f1e057b44697a3.zip |
[Project] First refactoring step libevent->libev
Diffstat (limited to 'src/rspamd.h')
-rw-r--r-- | src/rspamd.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rspamd.h b/src/rspamd.h index 09f401b38..9af78e904 100644 --- a/src/rspamd.h +++ b/src/rspamd.h @@ -94,7 +94,7 @@ struct rspamd_worker { struct rspamd_abstract_worker_ctx { guint64 magic; /* Events base */ - struct event_base *ev_base; + struct ev_loop *ev_base; /* DNS resolver */ struct rspamd_dns_resolver *resolver; /* Config */ @@ -116,7 +116,7 @@ struct rspamd_worker_signal_handler { gint signo; gboolean enabled; struct event ev; - struct event_base *base; + struct ev_loop *base; struct rspamd_worker *worker; struct rspamd_worker_signal_cb *cb; }; @@ -276,7 +276,7 @@ struct rspamd_main { gboolean is_privilleged; /**< true if run in privilleged mode */ gboolean cores_throttling; /**< turn off cores when limits are exceeded */ struct roll_history *history; /**< rolling history */ - struct event_base *ev_base; + struct ev_loop *event_loop; struct rspamd_http_context *http_ctx; }; @@ -311,7 +311,7 @@ struct controller_session { GList *parts; /**< extracted mime parts */ struct rspamd_async_session * s; /**< async session object */ struct rspamd_dns_resolver *resolver; /**< DNS resolver */ - struct event_base *ev_base; /**< Event base */ + struct ev_loop *ev_base; /**< Event base */ }; struct zstd_dictionary { |