aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2011-01-28 20:01:01 +0000
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2011-01-28 20:01:01 +0000
commit4cafc26f2a4ae10cc5eb0b5c7c9383c038a2214a (patch)
tree6b1c4dc0b4d4239079cc8ee84a8fe1ccd8e9263a /epan
parent0608efb190d0ebccdb9e5e97f0071281f18eb749 (diff)
Mention that the fake tvb unicode functions have been superceded
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35689 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan')
-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