Mention that the fake tvb unicode functions have been superceded
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 28 Jan 2011 20:01:01 +0000 (20:01 +0000)
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 28 Jan 2011 20:01:01 +0000 (20:01 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35689 f5534014-38df-0310-8fa8-9805f1628bb7

epan/tvbuff.c
epan/tvbuff.h

index 8aa1e7b503d2d64f35d6f1fdc8a8ec7b670b60cf..52cecb481c911d432cf1f36f73f9b6cd4aae4548 100644 (file)
@@ -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)
 {
index d377d395f4830424893faebfc7ac66015d3470b6..4763d146836399193a602f6ba32c731e3c9f5680 100644 (file)
@@ -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