diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-06-12 17:26:52 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-06-13 01:44:02 +0000 |
commit | ce4a2816ff66ae5a7cf45fec10ac85fcbb66cef9 (patch) | |
tree | 532dc1858fc8f4553be2c47b96615fd828568b4a /epan/dissectors/packet-smb-common.h | |
parent | fb0d1ee24edeed29baac1bdb053d1553580d431c (diff) |
Pull get_unicode_or_ascii_string() into packet-smb.c.
Nobody else needs its extra stuff, as they're not pulling data out of an
SMB byte buffer, so they don't need the extra length check, and nobody
else uses it - or should use it, as we now have support for string
encodings in the tvbuff and protocol-tree code.
Change-Id: I8d249ea2c89a744eef12a05ad755811c07ca463a
Reviewed-on: https://code.wireshark.org/review/33581
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-smb-common.h')
-rw-r--r-- | epan/dissectors/packet-smb-common.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/dissectors/packet-smb-common.h b/epan/dissectors/packet-smb-common.h index 4b5500750d..7de2a8a2bf 100644 --- a/epan/dissectors/packet-smb-common.h +++ b/epan/dissectors/packet-smb-common.h @@ -25,10 +25,6 @@ int display_ms_string(tvbuff_t *tvb, proto_tree *tree, int offset, int hf_index, int dissect_ms_compressed_string(tvbuff_t *tvb, proto_tree *tree, int offset, int hf_index, const char **data); -const gchar *get_unicode_or_ascii_string(tvbuff_t *tvb, int *offsetp, - gboolean useunicode, int *len, gboolean nopad, gboolean exactlen, - guint16 *bcp); - extern const value_string share_type_vals[]; #endif |