diff options
Diffstat (limited to 'src/libserver/events.c')
-rw-r--r-- | src/libserver/events.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libserver/events.c b/src/libserver/events.c index b996f1559..d94149584 100644 --- a/src/libserver/events.c +++ b/src/libserver/events.c @@ -320,6 +320,17 @@ rspamd_session_watcher_push (struct rspamd_async_session *s) } void +rspamd_session_watcher_push_specific (struct rspamd_async_session *s, + struct rspamd_async_watcher *w) +{ + g_assert (s != NULL); + + if (w) { + w->remain ++; + } +} + +void rspamd_session_watcher_pop (struct rspamd_async_session *s, struct rspamd_async_watcher *w) { |