diff options
author | Anders Broman <anders.broman@ericsson.com> | 2006-06-19 15:53:03 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2006-06-19 15:53:03 +0000 |
commit | 764e3ac16725573ef633ae160f3afb74a88a9ed6 (patch) | |
tree | deceb77733ae0b9c9c59aff9c4d5fb0cc204b76d /epan/tvbuff.h | |
parent | 0eb577e17b75658cf23c7e328ad02477fb81accf (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.h | 6 |
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". */ |