summaryrefslogtreecommitdiffstats
path: root/src/libserver/milter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/milter.h')
-rw-r--r--src/libserver/milter.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libserver/milter.h b/src/libserver/milter.h
index 963cc182c..3786f3b7b 100644
--- a/src/libserver/milter.h
+++ b/src/libserver/milter.h
@@ -71,6 +71,15 @@ gboolean rspamd_milter_handle_socket (gint fd, const struct timeval *tv,
rspamd_milter_error error_cb, void *ud);
/**
+ * Updates userdata for a session, returns previous userdata
+ * @param session
+ * @param ud
+ * @return
+ */
+void * rspamd_milter_update_userdata (struct rspamd_milter_session *session,
+ void *ud);
+
+/**
* Sets SMTP reply string
* @param session
* @param xcode