aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tvbuff.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2006-06-19 15:53:03 +0000
committerAnders Broman <anders.broman@ericsson.com>2006-06-19 15:53:03 +0000
commit764e3ac16725573ef633ae160f3afb74a88a9ed6 (patch)
treedeceb77733ae0b9c9c59aff9c4d5fb0cc204b76d /epan/tvbuff.h
parent0eb577e17b75658cf23c7e328ad02477fb81accf (diff)
New rutine tvb_format_text_wsp() which will change "whiite space" characters to space
before output. svn path=/trunk/; revision=18519
Diffstat (limited to 'epan/tvbuff.h')
-rw-r--r--epan/tvbuff.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/tvbuff.h b/epan/tvbuff.h
index b4f809c3a7..7957456302 100644
--- a/epan/tvbuff.h
+++ b/epan/tvbuff.h
@@ -428,6 +428,12 @@ extern char *tvb_get_ephemeral_faked_unicode(tvbuff_t *tvb, int offset, int len,
extern gchar * tvb_format_text(tvbuff_t *tvb, gint offset, gint size);
/**
+ * Like "tvb_format_text()", but for 'wsp'; don't show
+ * the characters as C-style escapes.
+ */
+extern gchar * tvb_format_text_wsp(tvbuff_t *tvb, gint offset, gint size);
+
+/**
* Like "tvb_format_text()", but for null-padded strings; don't show
* the null padding characters as "\000".
*/