aboutsummaryrefslogtreecommitdiffstats
path: root/src/fstring.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/fstring.h
parentbf2371d272bac279db965abeca2c5979155d8cc3 (diff)
downloadrspamd-632e9a8987961769fe478b0f60251f4fda5ca732.tar.gz
rspamd-632e9a8987961769fe478b0f60251f4fda5ca732.zip
Add support of buffered IO reset to support persistent connections.
Diffstat (limited to 'src/fstring.h')
-rw-r--r--src/fstring.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fstring.h b/src/fstring.h
index 566cbdc32..c55c3627a 100644
--- a/src/fstring.h
+++ b/src/fstring.h
@@ -79,6 +79,11 @@ gint fstrpush_unichar (f_str_t *dest, gunichar c);
f_str_t* fstralloc (memory_pool_t *pool, size_t len);
/*
+ * Allocate memory for f_str_t from temporary pool
+ */
+f_str_t* fstralloc_tmp (memory_pool_t *pool, size_t len);
+
+/*
* Truncate string to its len
*/
f_str_t* fstrtruncate (memory_pool_t *pool, f_str_t *orig);