diff options
-rw-r--r-- | epan/tvbuff.c | 1 | ||||
-rw-r--r-- | epan/tvbuff.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/epan/tvbuff.c b/epan/tvbuff.c index 8aa1e7b503..52cecb481c 100644 --- a/epan/tvbuff.c +++ b/epan/tvbuff.c @@ -2135,6 +2135,7 @@ tvb_memeql(tvbuff_t *tvb, const gint offset, const guint8 *str, size_t size) * replacing all non-ASCII characters with a '.' )-: The caller must * free the result returned. The len parameter is the number of guint16's * to convert from Unicode. */ +/* XXX - this function has been superceded by tvb_get_unicode_string() */ char * tvb_fake_unicode(tvbuff_t *tvb, int offset, const int len, const gboolean little_endian) { diff --git a/epan/tvbuff.h b/epan/tvbuff.h index d377d395f4..4763d14683 100644 --- a/epan/tvbuff.h +++ b/epan/tvbuff.h @@ -444,6 +444,9 @@ extern gint tvb_strnlen(tvbuff_t*, const gint offset, const guint maxlength); * assuming all characters are ASCII )-: The len parameter is the number * of guint16's to convert from Unicode. * + * XXX - These functions have been superceded by tvb_get_unicode_string() + * and tvb_get_ephemeral_unicode_string() + * * tvb_fake_unicode() returns a buffer allocated by g_malloc() and must * be g_free() by the caller. * tvb_get_ephemeral_faked_unicode() returns a buffer that does not need |