aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/events.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-06-09 11:04:28 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-06-09 11:04:28 +0100
commit64ff1b265cbba1cdf5f0c549690c971ec4b933fa (patch)
tree1537fea88c8e7975ed8b594602a30e3d943eb2de /src/libserver/events.h
parenta2e67d4c7be770f67aa16ebc3b6f32b4187b322f (diff)
downloadrspamd-64ff1b265cbba1cdf5f0c549690c971ec4b933fa.tar.gz
rspamd-64ff1b265cbba1cdf5f0c549690c971ec4b933fa.zip
Pass session data to event watchers.
Diffstat (limited to 'src/libserver/events.h')
-rw-r--r--src/libserver/events.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/events.h b/src/libserver/events.h
index b2f463b5b..fa4e0cbc7 100644
--- a/src/libserver/events.h
+++ b/src/libserver/events.h
@@ -32,7 +32,7 @@ struct rspamd_async_event;
struct rspamd_async_session;
typedef void (*event_finalizer_t)(gpointer ud);
-typedef void (*event_watcher_t)(gpointer ud);
+typedef void (*event_watcher_t)(gpointer session_data, gpointer ud);
typedef gboolean (*session_finalizer_t)(gpointer user_data);
/**