aboutsummaryrefslogtreecommitdiffstats
path: root/epan/to_str.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-01-07 09:36:06 -0500
committerMichael Mann <mmann78@netscape.net>2015-01-07 18:12:35 +0000
commit98d3b1494bdc10d9e9cf3ab59bf5efa2e7c04b68 (patch)
tree76704ddd5b3bb320a5c39d72f64d937557c6b99a /epan/to_str.h
parent9cfe67fde61fa16cdf433cb152b5b22949648c64 (diff)
Replace bytes_to_ep_str_punct with wmem equivalent.
Change-Id: I8aa7d7374db94685fd875cbf358c3bfbc83f3255 Reviewed-on: https://code.wireshark.org/review/6370 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/to_str.h')
-rw-r--r--epan/to_str.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/epan/to_str.h b/epan/to_str.h
index b1892dda1a..1f4c90e22e 100644
--- a/epan/to_str.h
+++ b/epan/to_str.h
@@ -123,8 +123,6 @@ WS_DLL_PUBLIC gchar* tvb_address_var_to_str(wmem_allocator_t *scope, tvbuff_t *t
* @param bd A pointer to the byte array
* @param bd_len The length of the byte array
* @return A pointer to the formatted string
- *
- * @see bytes_to_ep_str_punct()
*/
WS_DLL_PUBLIC gchar *bytes_to_ep_str(const guint8 *bd, int bd_len);
@@ -136,15 +134,14 @@ WS_DLL_PUBLIC char *bytes_to_str(wmem_allocator_t *allocator, const guint8 *bd,
/** Turn an array of bytes into a string showing the bytes in hex,
* separated by a punctuation character.
*
- * @param bd A pointer to the byte array
- * @param bd_len The length of the byte array
+ * @param scope memory allocation scheme used
+ * @param ad A pointer to the byte array
+ * @param len The length of the byte array
* @param punct The punctuation character
* @return A pointer to the formatted string
*
- * @see bytes_to_ep_str()
+ * @see bytes_to_str()
*/
-WS_DLL_PUBLIC gchar *bytes_to_ep_str_punct(const guint8 *bd, int bd_len, gchar punct);
-
WS_DLL_PUBLIC const gchar *bytestring_to_str(wmem_allocator_t *scope, const guint8 *ad, const guint32 len, const char punct);
#ifdef __cplusplus