aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/milter_internal.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-18 16:27:25 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-22 10:57:29 +0100
commitd5a36f4f750e63294cefed10f55b29fe7409bba6 (patch)
tree0cebfb90d8a004a6e5d261077f72be05a32101a7 /src/libserver/milter_internal.h
parent4b75d23d067118e2874ec3b8726d49e3f185b811 (diff)
downloadrspamd-d5a36f4f750e63294cefed10f55b29fe7409bba6.tar.gz
rspamd-d5a36f4f750e63294cefed10f55b29fe7409bba6.zip
[Project] Another iteration
Diffstat (limited to 'src/libserver/milter_internal.h')
-rw-r--r--src/libserver/milter_internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libserver/milter_internal.h b/src/libserver/milter_internal.h
index 7da696b36..7c0e4f26f 100644
--- a/src/libserver/milter_internal.h
+++ b/src/libserver/milter_internal.h
@@ -22,6 +22,7 @@
#include "contrib/libev/ev.h"
#include "khash.h"
#include "libutil/str_util.h"
+#include "libutil/libev_helper.h"
enum rspamd_milter_state {
st_len_1 = 0,
@@ -59,11 +60,10 @@ KHASH_INIT (milter_headers_hash_t, char *, GArray *, true,
struct rspamd_milter_private {
struct rspamd_milter_parser parser;
- struct event ev;
- struct timeval tv;
+ struct rspamd_io_ev ev;
struct rspamd_milter_outbuf *out_chain;
struct timeval *ptv;
- struct ev_loop *ev_base;
+ struct ev_loop *event_loop;
rspamd_mempool_t *pool;
khash_t(milter_headers_hash_t) *headers;
gint cur_hdr;