aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-02-16 17:13:09 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-02-16 17:13:09 +0400
commit632e9a8987961769fe478b0f60251f4fda5ca732 (patch)
tree514a3aed6f40252169ffa4557066091b4105aa3b /src/buffer.h
parentbf2371d272bac279db965abeca2c5979155d8cc3 (diff)
downloadrspamd-632e9a8987961769fe478b0f60251f4fda5ca732.tar.gz
rspamd-632e9a8987961769fe478b0f60251f4fda5ca732.zip
Add support of buffered IO reset to support persistent connections.
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