aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 96e38d471..ce2cf3d2e 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -123,4 +123,10 @@ void rspamd_dispatcher_restore (rspamd_io_dispatcher_t *d);
*/
void rspamd_remove_dispatcher (rspamd_io_dispatcher_t *dispatcher);
+/**
+ * Cleanup dispatcher freeing all temporary data
+ * @param dispatcher pointer to dispatcher's object
+ */
+void rspamd_dispacther_cleanup (rspamd_io_dispatcher_t *dispatcher);
+
#endif