aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tvbuff.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-01-21 09:56:34 +0000
committerGuy Harris <guy@alum.mit.edu>2014-01-21 09:56:34 +0000
commit4d9475e4ef71951d60120746f8bb130d3918f015 (patch)
treea9de685aba075743c570f46a7bd67a6aa9a8e26e /epan/tvbuff.h
parent35d0d0f1ae67528f1f2f7f23651b498178f7143a (diff)
Get rid of tvb_get_faked_unicode() - tvb_get_string_enc() does the job
better. We don't need eventlog_get_unicode_string_length() in the eventlog dissector, either - tvb_unicode_strsize() does the job just as well. svn path=/trunk/; revision=54874
Diffstat (limited to 'epan/tvbuff.h')
-rw-r--r--epan/tvbuff.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/epan/tvbuff.h b/epan/tvbuff.h
index 304684dc60..be7db043f3 100644
--- a/epan/tvbuff.h
+++ b/epan/tvbuff.h
@@ -436,19 +436,6 @@ WS_DLL_PUBLIC guint tvb_unicode_strsize(tvbuff_t *tvb, const gint offset);
WS_DLL_PUBLIC gint tvb_strnlen(tvbuff_t *tvb, const gint offset,
const guint maxlength);
-/** Convert a string from Unicode to ASCII. At the moment we fake it by
- * 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()
- *
- * If scope is set to NULL, returned buffer is allocated by g_malloc()
- * and must be g_free by the caller. Otherwise memory is automatically
- * freed when the scope lifetime is reached.
- */
-WS_DLL_PUBLIC char *tvb_get_faked_unicode(wmem_allocator_t *scope,
- tvbuff_t *tvb, int offset, const int len, const gboolean little_endian);
-
/**
* Format the data in the tvb from offset for size ...
*/