diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-06 15:41:16 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-06 15:41:16 +0100 |
commit | aac916db77b6ae58b7c0186d764e97a25482017c (patch) | |
tree | 52d58a063d790c699913116ee790b2a3019a6615 /src/libutil/fstring.h | |
parent | c7f92da47dcb17393132b713f75a4dbd41629819 (diff) | |
download | rspamd-aac916db77b6ae58b7c0186d764e97a25482017c.tar.gz rspamd-aac916db77b6ae58b7c0186d764e97a25482017c.zip |
Start miration to the new strings.
Diffstat (limited to 'src/libutil/fstring.h')
-rw-r--r-- | src/libutil/fstring.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libutil/fstring.h b/src/libutil/fstring.h index 9fdf47211..0d257633b 100644 --- a/src/libutil/fstring.h +++ b/src/libutil/fstring.h @@ -56,6 +56,11 @@ rspamd_fstring_t* rspamd_fstring_new (void); rspamd_fstring_t *rspamd_fstring_sized_new (gsize initial_size); /** + * Create new fixed length string and initialize it with the initial data + */ +rspamd_fstring_t *rspamd_fstring_new_init (const gchar *init, gsize len); + +/** * Free fixed length string */ void rspamd_fstring_free (rspamd_fstring_t *str); |