diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-20 08:16:49 -0700 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-20 08:16:49 -0700 |
commit | ad837700b86153be3587672124ee663c964f0f15 (patch) | |
tree | 7ec6e8fbe539a169d501a3d1767644b68fab2dab /src/fstring.h | |
parent | baeb17562f47dc31610c0f65079c45a7e6ad44bb (diff) | |
download | rspamd-ad837700b86153be3587672124ee663c964f0f15.tar.gz rspamd-ad837700b86153be3587672124ee663c964f0f15.zip |
Refactor memory pool naming.
Diffstat (limited to 'src/fstring.h')
-rw-r--r-- | src/fstring.h | 10 |
1 files changed, 5 insertions, 5 deletions
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 |