aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2011-01-28 20:01:01 +0000
committerStephen Fisher <steve@stephen-fisher.com>2011-01-28 20:01:01 +0000
commitd37c33b7e7c9e8ac53a536b7d6c64f602d66bb94 (patch)
tree6b1c4dc0b4d4239079cc8ee84a8fe1ccd8e9263a
parent2b3eddb8429a55a3e1f2646f807e8ef7075cc852 (diff)
Mention that the fake tvb unicode functions have been superceded
svn path=/trunk/; revision=35689
-rw-r--r--epan/tvbuff.c1
-rw-r--r--epan/tvbuff.h3
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