diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-19 14:13:41 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-19 14:13:41 +0100 |
commit | 276df90bedc7aa1b20a8f29072ea85c955bb79d9 (patch) | |
tree | 529f8cbf232a056e086f8e8b230e7108913c7f86 /src/libutil/fstring.h | |
parent | 78321a77304981ddbc15c92afdf311f89f3bcb74 (diff) | |
download | rspamd-276df90bedc7aa1b20a8f29072ea85c955bb79d9.tar.gz rspamd-276df90bedc7aa1b20a8f29072ea85c955bb79d9.zip |
[Minor] Make fstrgrow non-static function
Diffstat (limited to 'src/libutil/fstring.h')
-rw-r--r-- | src/libutil/fstring.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libutil/fstring.h b/src/libutil/fstring.h index a4ff4e0ae..127557e40 100644 --- a/src/libutil/fstring.h +++ b/src/libutil/fstring.h @@ -144,4 +144,13 @@ void rspamd_fstring_mapped_ftok_free (gpointer p); */ rspamd_ftok_t *rspamd_ftok_map (const rspamd_fstring_t *s); +/** + * Grow the specified fixed string + * @param str + * @param needed_len + * @return + */ +rspamd_fstring_t * rspamd_fstring_grow (rspamd_fstring_t *str, + gsize needed_len) G_GNUC_WARN_UNUSED_RESULT; + #endif |