diff options
Diffstat (limited to 'epan/tvbuff.h')
-rw-r--r-- | epan/tvbuff.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/tvbuff.h b/epan/tvbuff.h index 55a688bc91..62189e2228 100644 --- a/epan/tvbuff.h +++ b/epan/tvbuff.h @@ -486,16 +486,22 @@ extern gchar *tvb_format_stringzpad_wsp(tvbuff_t *tvb, const gint offset, const * MUST be g_free() by the caller in order not to leak * memory. * + * tvb_get_unicode_string() Unicode (UTF-16) version of above + * * tvb_get_ephemeral_string() returns a string that does not need to be freed, * instead it will automatically be freed once the next * packet is dissected. * + * tvb_get_ephemeral_unicode_string() Unicode (UTF-16) version of above + * * tvb_get_seasonal_string() returns a string that does not need to be freed, * instead it will automatically be freed when a new capture * or file is opened. */ extern guint8 *tvb_get_string(tvbuff_t *tvb, const gint offset, const gint length); +extern gchar *tvb_get_unicode_string(tvbuff_t *tvb, const gint offset, gint length, const guint encoding); extern guint8 *tvb_get_ephemeral_string(tvbuff_t *tvb, const gint offset, const gint length); +extern gchar *tvb_get_ephemeral_unicode_string(tvbuff_t *tvb, const gint offset, gint length, const guint encoding); extern guint8 *tvb_get_seasonal_string(tvbuff_t *tvb, const gint offset, const gint length); |