summaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-02-06 20:04:54 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-02-06 20:04:54 +0300
commitacec2b42286f734eacb7bab14d7d20e1110f4545 (patch)
tree9d2c91f31111495e986523a6baac3874688e16f0 /src/util.h
parent7f8de787946b883cc791bf6c0bcb514496caf074 (diff)
downloadrspamd-acec2b42286f734eacb7bab14d7d20e1110f4545.tar.gz
rspamd-acec2b42286f734eacb7bab14d7d20e1110f4545.zip
* Try to fix reading a line from user (using pools)
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index c0fb77eeb..3036d37fd 100644
--- a/src/util.h
+++ b/src/util.h
@@ -66,5 +66,8 @@ void file_log_function (const gchar *log_domain, GLogLevelFlags log_level, const
/* Replace %r with rcpt value and %f with from value, new string is allocated in pool */
char* resolve_stat_filename (memory_pool_t *pool, char *pattern, char *rcpt, char *from);
+/* Replace libevent evbuffer_readline with memory_pool variant */
+char* buffer_readline (memory_pool_t *pool, struct evbuffer *buf);
+
#endif