aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/events.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-23 11:39:54 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-23 11:40:18 +0000
commita74882ea00280abccfe946ba31182337606f7a45 (patch)
treea20a12bd004804e3ec429637ecd370e63fa440c1 /src/libserver/events.h
parentceb1547605fe8b9fb4eda214bf62267b9fb6e94f (diff)
downloadrspamd-a74882ea00280abccfe946ba31182337606f7a45.tar.gz
rspamd-a74882ea00280abccfe946ba31182337606f7a45.zip
[Minor] Add id to async watchers to simplify debugging
Diffstat (limited to 'src/libserver/events.h')
-rw-r--r--src/libserver/events.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/events.h b/src/libserver/events.h
index acfa11ebd..71854f205 100644
--- a/src/libserver/events.h
+++ b/src/libserver/events.h
@@ -93,6 +93,7 @@ guint rspamd_session_events_pending (struct rspamd_async_session *session);
* @param ud opaque data for the callback
*/
void rspamd_session_watch_start (struct rspamd_async_session *s,
+ gint id,
event_watcher_t cb,
gpointer ud);