aboutsummaryrefslogtreecommitdiffstats
path: root/epan/to_str.h
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-12-19 15:49:09 +0000
committerEvan Huus <eapache@gmail.com>2013-12-19 15:49:09 +0000
commita6415ece0ad102d30ac5dce59b127bcf1bd6d3f1 (patch)
tree0eff98882fe8c8a9db6f064b87330b8060fe37b2 /epan/to_str.h
parentb7ab4db2108fda5a1370b807d1b03ad93b1ca8f8 (diff)
Rename a couple of to_str functions to have ep_ in the name. This makes it
obvious that the returned string is ephemeral, and opens up the original names in the API for versions that take a wmem pool (and thus can work in any scope). svn path=/trunk/; revision=54249
Diffstat (limited to 'epan/to_str.h')
-rw-r--r--epan/to_str.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/to_str.h b/epan/to_str.h
index f195976ffc..cdb1adda58 100644
--- a/epan/to_str.h
+++ b/epan/to_str.h
@@ -112,9 +112,9 @@ WS_DLL_PUBLIC const gchar* port_type_to_str (port_type type);
* @param bd_len The length of the byte array
* @return A pointer to the formatted string
*
- * @see bytes_to_str_punct()
+ * @see bytes_to_ep_str_punct()
*/
-WS_DLL_PUBLIC gchar *bytes_to_str(const guint8 *bd, int bd_len);
+WS_DLL_PUBLIC gchar *bytes_to_ep_str(const guint8 *bd, int bd_len);
/** Turn an array of bytes into a string showing the bytes in hex,
* separated by a punctuation character.
@@ -124,11 +124,11 @@ WS_DLL_PUBLIC gchar *bytes_to_str(const guint8 *bd, int bd_len);
* @param punct The punctuation character
* @return A pointer to the formatted string
*
- * @see bytes_to_str()
+ * @see bytes_to_ep_str()
*/
-WS_DLL_PUBLIC gchar *bytes_to_str_punct(const guint8 *bd, int bd_len, gchar punct);
+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(const guint8 *, const guint32, const char punct);
+WS_DLL_PUBLIC const gchar *bytestring_to_ep_str(const guint8 *, const guint32, const char punct);
#ifdef __cplusplus
}