diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-06-18 19:07:25 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-06-22 10:57:29 +0100 |
commit | a3a8b32851bd236333af1353dad0d663f30a555d (patch) | |
tree | ad9255b7e1b7a9057071b9aa65883c35a89d5703 /src/libstat/stat_internal.h | |
parent | d5a36f4f750e63294cefed10f55b29fe7409bba6 (diff) | |
download | rspamd-a3a8b32851bd236333af1353dad0d663f30a555d.tar.gz rspamd-a3a8b32851bd236333af1353dad0d663f30a555d.zip |
[Project] More rework
Diffstat (limited to 'src/libstat/stat_internal.h')
-rw-r--r-- | src/libstat/stat_internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstat/stat_internal.h b/src/libstat/stat_internal.h index 84c1de2be..50dbae9c1 100644 --- a/src/libstat/stat_internal.h +++ b/src/libstat/stat_internal.h @@ -62,8 +62,8 @@ typedef void (*rspamd_stat_async_cleanup)(struct rspamd_stat_async_elt *elt, struct rspamd_stat_async_elt { rspamd_stat_async_handler handler; rspamd_stat_async_cleanup cleanup; - struct event timer_ev; - struct timeval tv; + struct ev_loop *event_loop; + ev_timer timer_ev; gdouble timeout; gboolean enabled; gpointer ud; @@ -93,7 +93,7 @@ struct rspamd_stat_ctx { struct rspamd_stat_tokenizer *tokenizer; gpointer tkcf; - struct ev_loop *ev_base; + struct ev_loop *event_loop; }; typedef enum rspamd_learn_cache_result { |