From 4d9475e4ef71951d60120746f8bb130d3918f015 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 21 Jan 2014 09:56:34 +0000 Subject: 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 --- epan/tvbuff.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'epan/tvbuff.h') 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 ... */ -- cgit v1.2.3