diff options
Diffstat (limited to 'src/worker_private.h')
-rw-r--r-- | src/worker_private.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/worker_private.h b/src/worker_private.h index ac391fc8c..b9a9e57d6 100644 --- a/src/worker_private.h +++ b/src/worker_private.h @@ -60,4 +60,14 @@ void rspamd_worker_init_scanner (struct rspamd_worker *worker, struct event_base *ev_base, struct rspamd_dns_resolver *resolver); +/* + * Called on forced timeout + */ +void rspamd_task_timeout (gint fd, short what, gpointer ud); + +/* + * Called on unexpected IO error (e.g. ECONNRESET) + */ +void rspamd_worker_guard_handler (gint fd, short what, void *data); + #endif |