diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-04-24 08:08:37 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-04-24 08:08:37 +0000 |
commit | d628c0a4cc8d3a177536ccd3a254bcb047df5873 (patch) | |
tree | 92c1eab2fca9f6d19a04b1565fbd746d35824e7f /epan/tvbuff.h | |
parent | a3534cd46ad0366ac916f727dd5183c27cdb1069 (diff) | |
download | wireshark-d628c0a4cc8d3a177536ccd3a254bcb047df5873.tar.gz wireshark-d628c0a4cc8d3a177536ccd3a254bcb047df5873.tar.bz2 wireshark-d628c0a4cc8d3a177536ccd3a254bcb047df5873.zip |
Added tvb_format_stringzpad_wsp().
svn path=/trunk/; revision=28140
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 6c203f5f28..271175e3e5 100644 --- a/epan/tvbuff.h +++ b/epan/tvbuff.h @@ -447,6 +447,12 @@ extern gchar * tvb_format_text_wsp(tvbuff_t *tvb, gint offset, gint size); */ extern gchar *tvb_format_stringzpad(tvbuff_t *tvb, gint offset, gint size); +/** + * Like "tvb_format_text_wsp()", but for null-padded strings; don't show + * the null padding characters as "\000". + */ +extern gchar *tvb_format_stringzpad_wsp(tvbuff_t *tvb, gint offset, gint size); + /** * Given a tvbuff, an offset, and a length, allocate a buffer big enough |