diff options
Diffstat (limited to 'src/libserver/events.h')
-rw-r--r-- | src/libserver/events.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libserver/events.h b/src/libserver/events.h index 71854f205..1c9b49faf 100644 --- a/src/libserver/events.h +++ b/src/libserver/events.h @@ -112,6 +112,14 @@ guint rspamd_session_watch_stop (struct rspamd_async_session *s); void rspamd_session_watcher_push (struct rspamd_async_session *s); /** + * Push callback to the watcher specified + */ +void rspamd_session_watcher_push_callback (struct rspamd_async_session *s, + struct rspamd_async_watcher *w, + event_watcher_t cb, + gpointer ud); + +/** * Increase refcount for a specific watcher */ void rspamd_session_watcher_push_specific (struct rspamd_async_session *s, |