From ad837700b86153be3587672124ee663c964f0f15 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 20 Apr 2014 08:16:49 -0700 Subject: Refactor memory pool naming. --- src/fstring.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/fstring.h') diff --git a/src/fstring.h b/src/fstring.h index c55c3627a..bd680e365 100644 --- a/src/fstring.h +++ b/src/fstring.h @@ -76,22 +76,22 @@ gint fstrpush_unichar (f_str_t *dest, gunichar c); /* * Allocate memory for f_str_t */ -f_str_t* fstralloc (memory_pool_t *pool, size_t len); +f_str_t* fstralloc (rspamd_mempool_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); +f_str_t* fstralloc_tmp (rspamd_mempool_t *pool, size_t len); /* * Truncate string to its len */ -f_str_t* fstrtruncate (memory_pool_t *pool, f_str_t *orig); +f_str_t* fstrtruncate (rspamd_mempool_t *pool, f_str_t *orig); /* * Enlarge string to new size */ -f_str_t* fstrgrow (memory_pool_t *pool, f_str_t *orig, size_t newlen); +f_str_t* fstrgrow (rspamd_mempool_t *pool, f_str_t *orig, size_t newlen); /* * Return specified character @@ -110,7 +110,7 @@ guint32 fstrhash_lowercase (f_str_t *str, gboolean is_utf); /* * Make copy of string to 0-terminated string */ -gchar* fstrcstr (f_str_t *str, memory_pool_t *pool); +gchar* fstrcstr (f_str_t *str, rspamd_mempool_t *pool); /* * Strip fstr string from space symbols -- cgit v1.2.3